qtdemux: Handle closed captions as subtitle streams
authorSebastian Dröge <sebastian@centricular.com>
Thu, 2 Aug 2018 13:12:45 +0000 (16:12 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 2 Aug 2018 13:13:26 +0000 (16:13 +0300)
gst/isomp4/qtdemux.c

index b2a08d7..de7bfd7 100644 (file)
@@ -8518,7 +8518,8 @@ gst_qtdemux_add_stream (GstQTDemux * qtdemux,
   } else if (stream->subtype == FOURCC_strm) {
     GST_DEBUG_OBJECT (qtdemux, "stream type, not creating pad");
   } else if (stream->subtype == FOURCC_subp || stream->subtype == FOURCC_text
-      || stream->subtype == FOURCC_sbtl || stream->subtype == FOURCC_subt) {
+      || stream->subtype == FOURCC_sbtl || stream->subtype == FOURCC_subt
+      || stream->subtype == FOURCC_clcp) {
     gchar *name = g_strdup_printf ("subtitle_%u", qtdemux->n_sub_streams);
 
     stream->pad =