From 7759c182cba7fa2e28f70366bb2be0fb71b7230c Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 30 Sep 2014 23:38:01 +0200 Subject: 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 --- demux/demux_disc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'demux/demux_disc.c') 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) -- cgit v1.2.3