summaryrefslogtreecommitdiffstats
path: root/find_sub.c
diff options
context:
space:
mode:
Diffstat (limited to 'find_sub.c')
-rw-r--r--find_sub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/find_sub.c b/find_sub.c
index dcd045eb60..7b7e0493ce 100644
--- a/find_sub.c
+++ b/find_sub.c
@@ -69,7 +69,7 @@ void step_sub(sub_data *subd, float pts, int movement) {
sub_delay = subs[current_sub].start / (subd->sub_uses_time ? 100 : sub_fps) - pts;
}
-void find_sub(sub_data* subd,int key){
+void find_sub(struct MPContext *mpctx, sub_data* subd,int key){
subtitle *subs;
subtitle *new_sub = NULL;
int i,j;
@@ -174,5 +174,5 @@ void find_sub(sub_data* subd,int key){
new_sub=NULL; // no sub here
update:
- set_osd_subtitle(new_sub);
+ set_osd_subtitle(mpctx, new_sub);
}