summaryrefslogtreecommitdiffstats
path: root/sub/spudec.h
diff options
context:
space:
mode:
Diffstat (limited to 'sub/spudec.h')
-rw-r--r--sub/spudec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sub/spudec.h b/sub/spudec.h
index 55071d823e..197102b360 100644
--- a/sub/spudec.h
+++ b/sub/spudec.h
@@ -23,11 +23,12 @@
struct sub_bitmaps;
struct mp_osd_res;
+struct mp_log;
void spudec_heartbeat(void *this, unsigned int pts100);
void spudec_assemble(void *this, unsigned char *packet, unsigned int len, int pts100);
void spudec_get_indexed(void *this, struct mp_osd_res *dim, double xstretch, double ystretch, struct sub_bitmaps *res);
-void *spudec_new_scaled(unsigned int frame_width, unsigned int frame_height, uint8_t *extradata, int extradata_len);
+void *spudec_new_scaled(struct mp_log *log, unsigned int frame_width, unsigned int frame_height, uint8_t *extradata, int extradata_len);
void spudec_free(void *this);
void spudec_reset(void *this); // called after seek
int spudec_visible(void *this); // check if spu is visible