[vlc-commits] TS: fix playback of HDPR files

Jean-Baptiste Kempf git at videolan.org
Mon Sep 9 22:52:54 CEST 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Sep  9 22:50:52 2013 +0200| [465feb59f9218a62be4b310f8be8bab6e38f4286] | committer: Jean-Baptiste Kempf

TS: fix playback of HDPR files

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

 modules/demux/ts.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index e8608b4..2039251 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -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;



More information about the vlc-commits mailing list