[vlc-commits] demux: ts: restrict HDMV secondary to exact range

Francois Cartegnie git at videolan.org
Thu Jun 28 12:05:21 CEST 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jun 28 11:53:23 2018 +0200| [4613998310457312a0ec13100b75d21c1fd80fc6] | committer: Francois Cartegnie

demux: ts: restrict HDMV secondary to exact range

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

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

diff --git a/modules/demux/mpeg/ts_psi.c b/modules/demux/mpeg/ts_psi.c
index 7fe2b09d95..0004815ec9 100644
--- a/modules/demux/mpeg/ts_psi.c
+++ b/modules/demux/mpeg/ts_psi.c
@@ -1620,7 +1620,8 @@ static void FillPESFromDvbpsiES( demux_t *p_demux,
         {
             p_pes->p_es->fmt.i_priority = ES_PRIORITY_NOT_DEFAULTABLE;
         }
-        else if( p_dvbpsies->i_pid > 0x19ff )
+        else if( (p_dvbpsies->i_pid >= 0x1a00 && p_dvbpsies->i_pid <= 0x1a1f) ||
+                 (p_dvbpsies->i_pid >= 0x1b00 && p_dvbpsies->i_pid <= 0x1b1f) )
         {
             /* We might just want to prio, but it will trigger multiple videos es */
             p_pes->p_es->fmt.i_priority = ES_PRIORITY_NOT_DEFAULTABLE;



More information about the vlc-commits mailing list