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, 3 insertions, 1 deletions
diff --git a/sub/dec_sub.h b/sub/dec_sub.h
index 495ac46402..ddec46e243 100644
--- a/sub/dec_sub.h
+++ b/sub/dec_sub.h
@@ -3,6 +3,7 @@
#include <stdbool.h>
#include <stdint.h>
+#include <pthread.h>
#include "osd.h"
@@ -31,7 +32,8 @@ void sub_set_video_res(struct dec_sub *sub, int w, int h);
void sub_set_video_fps(struct dec_sub *sub, double fps);
void sub_set_extradata(struct dec_sub *sub, void *data, int data_len);
void sub_set_ass_renderer(struct dec_sub *sub, struct ass_library *ass_library,
- struct ass_renderer *ass_renderer);
+ struct ass_renderer *ass_renderer,
+ pthread_mutex_t *ass_lock);
void sub_init_from_sh(struct dec_sub *sub, struct sh_stream *sh);
bool sub_is_initialized(struct dec_sub *sub);