[vlc-commits] demux: ts: set UNKNOWN_ES for IG graphics

Francois Cartegnie git at videolan.org
Sun Dec 22 14:53:26 CET 2019


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Dec 21 22:47:04 2019 +0100| [c9d99dcfeb9e02ce8614a51a4123b1a23b723a2d] | committer: Francois Cartegnie

demux: ts: set UNKNOWN_ES for IG graphics

otherwise fallsback erroneously on A52b

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

 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 656623990a..02a543623f 100644
--- a/modules/demux/mpeg/ts_psi.c
+++ b/modules/demux/mpeg/ts_psi.c
@@ -1480,7 +1480,8 @@ static bool PMTSetupEsHDMV( demux_t *p_demux, ts_es_t *p_es,
         es_format_Change( p_fmt, SPU_ES, VLC_CODEC_BD_PG );
         break;
     case 0x91: /* Interactive graphics */
-        return false;
+        es_format_Change( p_fmt, UNKNOWN_ES, 0 ); /* prevent regular ES handler */
+        break;
     case 0x92: /* Subtitle */
         es_format_Change( p_fmt, SPU_ES, VLC_CODEC_BD_TEXT );
         break;



More information about the vlc-commits mailing list