[vlc-commits] demux: ts: add DTS registration comments

Francois Cartegnie git at videolan.org
Thu Nov 17 18:05:45 CET 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Nov 17 13:00:58 2016 +0100| [6d75b6515f4c33762dc85fc303d51a3f79473be5] | committer: Francois Cartegnie

demux: ts: add DTS registration comments

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6d75b6515f4c33762dc85fc303d51a3f79473be5
---

 modules/demux/mpeg/ts_psi.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/demux/mpeg/ts_psi.c b/modules/demux/mpeg/ts_psi.c
index bf9b4ad..dd092d7 100644
--- a/modules/demux/mpeg/ts_psi.c
+++ b/modules/demux/mpeg/ts_psi.c
@@ -881,9 +881,9 @@ static void PMTSetupEs0x06( demux_t *p_demux, ts_pes_t *p_pes,
     {
         OpusSetup(p_demux, desc->p_data, desc->i_length, p_fmt);
     }
-    else if( PMTEsHasRegistration( p_demux, p_dvbpsies, "DTS1" ) ||
-             PMTEsHasRegistration( p_demux, p_dvbpsies, "DTS2" ) ||
-             PMTEsHasRegistration( p_demux, p_dvbpsies, "DTS3" ) ||
+    else if( PMTEsHasRegistration( p_demux, p_dvbpsies, "DTS1" ) || /* 512 Bpf */
+             PMTEsHasRegistration( p_demux, p_dvbpsies, "DTS2" ) || /* 1024 Bpf */
+             PMTEsHasRegistration( p_demux, p_dvbpsies, "DTS3" ) || /* 2048 Bpf */
              PMTEsFindDescriptor( p_dvbpsies, 0x73 ) )
     {
         /*registration descriptor(ETSI TS 101 154 Annex F)*/



More information about the vlc-commits mailing list