From 92f9b514263d8becf670c19567826bd288595fe7 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Dec 2013 19:02:05 +0100 Subject: find_subfiles: mp_msg conversions --- player/loadfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player') diff --git a/player/loadfile.c b/player/loadfile.c index d00c5ee218..1bee60119a 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -693,7 +693,7 @@ static void open_subtitles_from_options(struct MPContext *mpctx) if (stream_control(mpctx->stream, STREAM_CTRL_GET_BASE_FILENAME, &stream_filename) > 0) base_filename = talloc_steal(tmp, stream_filename); - struct subfn *list = find_text_subtitles(mpctx->opts, base_filename); + struct subfn *list = find_text_subtitles(mpctx->global, base_filename); talloc_steal(tmp, list); for (int i = 0; list && list[i].fname; i++) { char *filename = list[i].fname; -- cgit v1.2.3