diff options
author | TheAMM <the.actual.amm@gmail.com> | 2021-05-29 01:28:15 +0300 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2021-07-08 12:44:06 +0300 |
commit | 4d3df1c842532e3a48578ab6daef39076289c8ef (patch) | |
tree | f38668f28dca977818525416494c162f42f65b51 /common/recorder.h | |
parent | f9527497c68c86b247ade965dafe362f0f43be09 (diff) | |
download | mpv-4d3df1c842532e3a48578ab6daef39076289c8ef.tar.bz2 mpv-4d3df1c842532e3a48578ab6daef39076289c8ef.tar.xz |
recorder: add support for attachments (fonts)
Though, only when the output format is matroska, to avoid muxing errors.
This is quite useful when the input has ASS subtitles, as they tend to
rely on embedded fonts.
Diffstat (limited to 'common/recorder.h')
-rw-r--r-- | common/recorder.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/recorder.h b/common/recorder.h index c0b1e36495..e86d978067 100644 --- a/common/recorder.h +++ b/common/recorder.h @@ -5,12 +5,15 @@ struct mp_recorder; struct mpv_global; struct demux_packet; struct sh_stream; +struct demux_attachment; struct mp_recorder_sink; struct mp_recorder *mp_recorder_create(struct mpv_global *global, const char *target_file, struct sh_stream **streams, - int num_streams); + int num_streams, + struct demux_attachment **demux_attachments, + int num_attachments); void mp_recorder_destroy(struct mp_recorder *r); void mp_recorder_mark_discontinuity(struct mp_recorder *r); |