summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-21 19:02:05 +0100
committerwm4 <wm4@nowhere>2013-12-21 20:50:13 +0100
commit92f9b514263d8becf670c19567826bd288595fe7 (patch)
treecdb70cfb9f159c4861da826a7e63afc3ca51734c /player
parent15ae64d369752fc333e49c7453a2f2467c543ea8 (diff)
downloadmpv-92f9b514263d8becf670c19567826bd288595fe7.tar.bz2
mpv-92f9b514263d8becf670c19567826bd288595fe7.tar.xz
find_subfiles: mp_msg conversions
Diffstat (limited to 'player')
-rw-r--r--player/loadfile.c2
1 files changed, 1 insertions, 1 deletions
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;