]> git.sesse.net Git - vlc/commitdiff
TS: fix playback of HDPR files
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 9 Sep 2013 20:50:52 +0000 (22:50 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 9 Sep 2013 20:50:52 +0000 (22:50 +0200)
modules/demux/ts.c

index e8608b4c4ee412739d0039aaa143a605698caa7b..2039251244c36af826b4fc44e38582c15a17e206 100644 (file)
@@ -4045,7 +4045,7 @@ static void PMTCallBack( void *data, dvbpsi_pmt_t *p_pmt )
             else
             {
                 msg_Dbg( p_demux, " * descriptor : registration %4.4s", p_dr->p_data );
-                if( !memcmp( p_dr->p_data, "HDMV", 4 ) )
+                if( !memcmp( p_dr->p_data, "HDMV", 4 ) || !memcmp( p_dr->p_data, "HDPR", 4 ) )
                     b_hdmv = true; /* Blu-Ray */
             }
             break;