[vlc-commits] [Git][videolan/vlc][master] mux: mp4: add additionally used TTML namespace

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Mar 27 09:23:48 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
50aa52da by François Cartegnie at 2024-03-27T08:41:57+00:00
mux: mp4: add additionally used  TTML namespace

- - - - -


1 changed file:

- modules/mux/mp4/mp4.c


Changes:

=====================================
modules/mux/mp4/mp4.c
=====================================
@@ -845,7 +845,7 @@ static int MuxStream(sout_mux_t *p_mux, sout_input_t *p_input, mp4_stream_t *p_s
         }
         else if(mp4mux_track_GetFmt(p_stream->tinfo)->i_codec == VLC_CODEC_TTML)
         {
-            const char emptyttml[] = "<tt xmlns=\"" TT_NS "\"/>";
+            const char emptyttml[] = "<tt xmlns=\"" TT_NS " " TT_NS_STYLING "\"/>";
             p_empty = block_Alloc(sizeof(emptyttml) - 1);
             if(p_empty)
                 memcpy(p_empty->p_buffer, emptyttml, p_empty->i_buffer);



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/50aa52dab47672558ef1394df9db12fc98627ef6

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/50aa52dab47672558ef1394df9db12fc98627ef6
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list