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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sub/dec_sub.h b/sub/dec_sub.h
index 36b947fffa..c659458c04 100644
--- a/sub/dec_sub.h
+++ b/sub/dec_sub.h
@@ -8,7 +8,7 @@
struct sh_stream;
struct ass_track;
-struct MPOpts;
+struct mpv_global;
struct demux_packet;
struct ass_library;
struct ass_renderer;
@@ -22,7 +22,7 @@ enum sd_ctrl {
SD_CTRL_GET_RESOLUTION,
};
-struct dec_sub *sub_create(struct MPOpts *opts);
+struct dec_sub *sub_create(struct mpv_global *global);
void sub_destroy(struct dec_sub *sub);
void sub_set_video_res(struct dec_sub *sub, int w, int h);