summaryrefslogtreecommitdiffstats
path: root/common/recorder.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/recorder.h')
-rw-r--r--common/recorder.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/common/recorder.h b/common/recorder.h
index a6c8635c01..e86d978067 100644
--- a/common/recorder.h
+++ b/common/recorder.h
@@ -5,16 +5,20 @@ 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);
-struct mp_recorder_sink *mp_recorder_get_sink(struct mp_recorder *r, int stream);
+struct mp_recorder_sink *mp_recorder_get_sink(struct mp_recorder *r,
+ struct sh_stream *stream);
void mp_recorder_feed_packet(struct mp_recorder_sink *s,
struct demux_packet *pkt);