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

Francois Cartegnie git at videolan.org
Tue Aug 7 11:35:40 CEST 2018


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

demux: ts: restrict HDMV secondary to exact range

(cherry picked from commit 4613998310457312a0ec13100b75d21c1fd80fc6)

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

 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 5706131152..d51acf984d 100644
--- a/modules/demux/mpeg/ts_psi.c
+++ b/modules/demux/mpeg/ts_psi.c
@@ -1598,7 +1598,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