summaryrefslogtreecommitdiffstats
path: root/core/timeline/tl_matroska.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-08 01:37:30 +0200
committerwm4 <wm4@nowhere>2013-07-08 01:37:30 +0200
commit73c76de91edbf8a55eb725196ff54583e3428510 (patch)
treebb2538a39731a3b8e83f34e08463dcc8908bbfb0 /core/timeline/tl_matroska.c
parent05ae5afd6249af9770eb1e55104fbd4f510c2342 (diff)
downloadmpv-73c76de91edbf8a55eb725196ff54583e3428510.tar.bz2
mpv-73c76de91edbf8a55eb725196ff54583e3428510.tar.xz
demux: simplify demux_open() calls
The demux_open as well as demux_open_withparams calls don't use the stream selection parameters anymore, so remove them everywhere. Completes the previous commit.
Diffstat (limited to 'core/timeline/tl_matroska.c')
-rw-r--r--core/timeline/tl_matroska.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/timeline/tl_matroska.c b/core/timeline/tl_matroska.c
index 11fcc67583..6752b5ff4c 100644
--- a/core/timeline/tl_matroska.c
+++ b/core/timeline/tl_matroska.c
@@ -117,8 +117,7 @@ static struct demuxer *open_demuxer(struct stream *stream,
struct MPContext *mpctx, char *filename, struct demuxer_params *params)
{
return demux_open_withparams(&mpctx->opts, stream,
- DEMUXER_TYPE_MATROSKA, NULL, mpctx->opts.audio_id,
- mpctx->opts.video_id, mpctx->opts.sub_id, filename, params);
+ DEMUXER_TYPE_MATROSKA, NULL, filename, params);
}
static int enable_cache(struct MPContext *mpctx, struct stream **stream,