[vlc-commits] demux: mp4: add support for CEA708

Francois Cartegnie git at videolan.org
Tue Oct 17 19:35:52 CEST 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Sep 25 16:11:05 2017 +0200| [df4ded8d08b1bfd81add8f0ba778fa952a5088ea] | committer: Francois Cartegnie

demux: mp4: add support for CEA708

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

 modules/demux/mp4/essetup.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/modules/demux/mp4/essetup.c b/modules/demux/mp4/essetup.c
index 1ff001602d..60436422a4 100644
--- a/modules/demux/mp4/essetup.c
+++ b/modules/demux/mp4/essetup.c
@@ -1246,10 +1246,13 @@ int SetupSpuES( demux_t *p_demux, mp4_track_t *p_track, MP4_Box_t *p_sample )
             p_track->fmt.i_original_fourcc = ATOM_wvtt;
             break;
         case ATOM_c608: /* EIA608 closed captions */
-        //case ATOM_c708: /* EIA708 closed captions */
             p_track->fmt.i_codec = VLC_CODEC_CEA608;
             p_track->fmt.subs.cc.i_reorder_depth = -1;
             break;
+        case ATOM_c708: /* EIA708 closed captions */
+            p_track->fmt.i_codec = VLC_CODEC_CEA708;
+            p_track->fmt.subs.cc.i_reorder_depth = -1;
+            break;
 
         case( VLC_FOURCC( 't', 'e', 'x', 't' ) ):
         case( VLC_FOURCC( 't', 'x', '3', 'g' ) ):



More information about the vlc-commits mailing list