From c676c31815b5c8bd9ba6eab968bbc0862eaa4bba Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Tue, 8 Nov 2016 17:53:55 +0100 Subject: demux: expose demuxer colorimetry metadata to player Implementation-wise, the values from the demuxer/codec header are merged with the values from the decoder such that the former are used only where the latter are unknown (0/auto). --- demux/demux_mkv.c | 1 + 1 file changed, 1 insertion(+) (limited to 'demux/demux_mkv.c') diff --git a/demux/demux_mkv.c b/demux/demux_mkv.c index bf7a8e2d91..63b58cdb15 100644 --- a/demux/demux_mkv.c +++ b/demux/demux_mkv.c @@ -1436,6 +1436,7 @@ static int demux_mkv_open_video(demuxer_t *demuxer, mkv_track_t *track) sh_v->par_h = p.p_h; sh_v->stereo_mode = track->stereo_mode; + sh_v->color = track->color; done: demux_add_sh_stream(demuxer, sh); -- cgit v1.2.3