[vlc-commits] demux: ts: set dolbyvision to non default
Francois Cartegnie
git at videolan.org
Thu Feb 22 16:21:16 CET 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Feb 22 15:16:37 2018 +0100| [d1ad873a5d46183ea31b7bd4e9f92d326b42a1fc] | committer: Francois Cartegnie
demux: ts: set dolbyvision to non default
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d1ad873a5d46183ea31b7bd4e9f92d326b42a1fc
---
modules/demux/mpeg/ts_psi.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/modules/demux/mpeg/ts_psi.c b/modules/demux/mpeg/ts_psi.c
index b11a5fd279..c277a08154 100644
--- a/modules/demux/mpeg/ts_psi.c
+++ b/modules/demux/mpeg/ts_psi.c
@@ -1605,6 +1605,12 @@ static void FillPESFromDvbpsiES( demux_t *p_demux,
SetupStandardESDescriptors( p_demux, p_pes->p_es, p_dvbpsies );
+ /* Disable dolbyvision */
+ if ( registration_type == TS_PMT_REGISTRATION_BLURAY &&
+ p_dvbpsies->i_pid == 0x1015 &&
+ PMTEsHasRegistration( p_demux, p_dvbpsies, "HDMV" ) )
+ p_pes->p_es->fmt.i_priority = ES_PRIORITY_NOT_DEFAULTABLE;
+
/* PES packets usually contain truncated frames */
p_pes->p_es->fmt.b_packetized = false;
More information about the vlc-commits
mailing list