[vlc-commits] demux: ts: set UNKNOWN_ES for IG graphics
Francois Cartegnie
git at videolan.org
Mon Jan 13 18:09:46 CET 2020
vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Dec 21 22:47:04 2019 +0100| [30006da88b0d90186101f0fae09d1ab45b5e6a75] | committer: Francois Cartegnie
demux: ts: set UNKNOWN_ES for IG graphics
otherwise fallsback erroneously on A52b
(cherry picked from commit c9d99dcfeb9e02ce8614a51a4123b1a23b723a2d)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=30006da88b0d90186101f0fae09d1ab45b5e6a75
---
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 d51acf984d..bfc23a9137 100644
--- a/modules/demux/mpeg/ts_psi.c
+++ b/modules/demux/mpeg/ts_psi.c
@@ -1273,7 +1273,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