summaryrefslogtreecommitdiffstats
path: root/sub/dec_sub.h
diff options
context:
space:
mode:
Diffstat (limited to 'sub/dec_sub.h')
-rw-r--r--sub/dec_sub.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sub/dec_sub.h b/sub/dec_sub.h
index 341966a430..26781fd99f 100644
--- a/sub/dec_sub.h
+++ b/sub/dec_sub.h
@@ -9,6 +9,7 @@
struct sh_stream;
struct mpv_global;
struct demux_packet;
+struct mp_recorder_sink;
struct dec_sub;
struct sd;
@@ -16,7 +17,6 @@ struct sd;
enum sd_ctrl {
SD_CTRL_SUB_STEP,
SD_CTRL_SET_VIDEO_PARAMS,
- SD_CTRL_GET_RESOLUTION,
SD_CTRL_SET_TOP,
SD_CTRL_SET_VIDEO_DEF_FPS,
SD_CTRL_UPDATE_SPEED,
@@ -41,6 +41,7 @@ void sub_get_bitmaps(struct dec_sub *sub, struct mp_osd_res dim, int format,
char *sub_get_text(struct dec_sub *sub, double pts);
void sub_reset(struct dec_sub *sub);
void sub_select(struct dec_sub *sub, bool selected);
+void sub_set_recorder_sink(struct dec_sub *sub, struct mp_recorder_sink *sink);
int sub_control(struct dec_sub *sub, enum sd_ctrl cmd, void *arg);