summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-09-30 23:38:01 +0200
committerAlessandro Ghedini <alessandro@ghedini.me>2014-10-11 13:51:41 +0200
commit061f50975712e46f4dbcd7b47849da69b5a848e1 (patch)
tree2698b0a152906c34bba8396bbf73b1b3310c44a8
parent03bfc2b3fd3783d1c57742ae858483dcfab7f036 (diff)
downloadmpv-061f50975712e46f4dbcd7b47849da69b5a848e1.tar.bz2
mpv-061f50975712e46f4dbcd7b47849da69b5a848e1.tar.xz
demux_disc: bluray: fix stream language (2)
Commit 50e131b43ed happened to make it work for DVD (because the higher bits of the ID are masked in the DVD case), but failed for Bluray. This probably fixes it, although I don't have a sample to multiple streams to confirm it really does it right. CC: @mpv-player/stable
-rw-r--r--demux/demux_disc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demux/demux_disc.c b/demux/demux_disc.c
index 48b91208e9..d0054079c1 100644
--- a/demux/demux_disc.c
+++ b/demux/demux_disc.c
@@ -143,6 +143,7 @@ static void add_streams(demuxer_t *demuxer)
sh->codec = talloc_strdup(sh, src->codec);
sh->format = src->format;
sh->lav_headers = src->lav_headers;
+ sh->demuxer_id = src->demuxer_id;
if (src->video) {
double ar;
if (stream_control(demuxer->stream, STREAM_CTRL_GET_ASPECT_RATIO, &ar)