[vlc-commits] mux: mp4: fix SUBT codec mapping

Francois Cartegnie git at videolan.org
Mon Jan 6 18:39:34 CET 2020


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Jan  4 21:19:14 2020 +0100| [3ff55d29f296c588d1e25d62e5eda80dbf8b6b3e] | committer: Francois Cartegnie

mux: mp4: fix SUBT codec mapping

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

 modules/mux/mp4/libmp4mux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/mux/mp4/libmp4mux.c b/modules/mux/mp4/libmp4mux.c
index c98733df91..f25372565b 100644
--- a/modules/mux/mp4/libmp4mux.c
+++ b/modules/mux/mp4/libmp4mux.c
@@ -1292,7 +1292,7 @@ static bo_t *GetTextBox(vlc_object_t *p_obj, mp4mux_trackinfo_t *p_track, bool b
         }
         return text;
     }
-    else if(p_track->fmt.i_codec == VLC_CODEC_SPU ||
+    else if(p_track->fmt.i_codec == VLC_CODEC_SUBT ||
             p_track->fmt.i_codec == VLC_CODEC_TX3G)
     {
         bo_t *tx3g = box_new("tx3g");



More information about the vlc-commits mailing list