summaryrefslogtreecommitdiffstats
path: root/player/timeline/tl_cue.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/timeline/tl_cue.c')
-rw-r--r--player/timeline/tl_cue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/player/timeline/tl_cue.c b/player/timeline/tl_cue.c
index 646aa24ee3..80eaf5ef76 100644
--- a/player/timeline/tl_cue.c
+++ b/player/timeline/tl_cue.c
@@ -191,7 +191,7 @@ static bool try_open(struct MPContext *mpctx, char *filename)
struct stream *s = stream_open(filename, mpctx->opts);
if (!s)
return false;
- struct demuxer *d = demux_open(s, NULL, NULL, mpctx->opts);
+ struct demuxer *d = demux_open(s, NULL, NULL, mpctx->global);
// Since .bin files are raw PCM data with no headers, we have to explicitly
// open them. Also, try to avoid to open files that are most likely not .bin
// files, as that would only play noise. Checking the file extension is
@@ -200,7 +200,7 @@ static bool try_open(struct MPContext *mpctx, char *filename)
// CD sector size (2352 bytes)
if (!d && bstr_case_endswith(bfilename, bstr0(".bin"))) {
MP_WARN(mpctx, "CUE: Opening as BIN file!\n");
- d = demux_open(s, "rawaudio", NULL, mpctx->opts);
+ d = demux_open(s, "rawaudio", NULL, mpctx->global);
}
if (d) {
add_source(mpctx, d);