[vlc-commits] demux: ts: add support for TTML

Francois Cartegnie git at videolan.org
Thu Jul 19 11:08:43 CEST 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Jul 18 15:17:45 2018 +0200| [bd57cdcb38d49cb10adcf4863976b945ec3fafba] | committer: Francois Cartegnie

demux: ts: add support for TTML

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

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

diff --git a/modules/demux/mpeg/ts_psi.c b/modules/demux/mpeg/ts_psi.c
index dad29e41a5..74325e3022 100644
--- a/modules/demux/mpeg/ts_psi.c
+++ b/modules/demux/mpeg/ts_psi.c
@@ -1181,6 +1181,9 @@ static void PMTSetupEs0x06( demux_t *p_demux, ts_stream_t *p_pes,
             case 0x15: /* AC4, unsupported for now */
                 es_format_Change( p_fmt, AUDIO_ES, VLC_FOURCC('A', 'C', '-', '4') );
                 break;
+            case 0x20:
+                es_format_Change( p_fmt, SPU_ES, VLC_CODEC_TTML_TS );
+                break;
         }
     }
     else if( p_sys->standard == TS_STANDARD_ARIB )



More information about the vlc-commits mailing list