summaryrefslogtreecommitdiffstats
path: root/libmpdemux/demux_mkv.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-08 02:38:51 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-08 18:05:12 +0200
commita7b91626cf04139b3a42db048fe5b5aea96e141a (patch)
tree66c48a2ffe943c260ca62e3f9b39481fda97cac0 /libmpdemux/demux_mkv.c
parent82cd2f7aecef6594f1aea15251b547365bebb183 (diff)
downloadmpv-a7b91626cf04139b3a42db048fe5b5aea96e141a.tar.bz2
mpv-a7b91626cf04139b3a42db048fe5b5aea96e141a.tar.xz
core: use correct demuxer with -audiofile / -subfile
Various code referred to "mpctx->demuxer" where it should really have referred to the one used for audio/subtitles in case those differ. Fix by using "mpctx->d_audio->demuxer" etc instead. Disable the copying of streams in demux_demuxers; that was a partial workaround for things referring to the main demuxer (and it wasn't enough anyway). This fixes, among other things, switching audio tracks within the file specified by -audiofile.
Diffstat (limited to 'libmpdemux/demux_mkv.c')
0 files changed, 0 insertions, 0 deletions