discoverer: consider subtitles as raw
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Wed, 24 Aug 2011 14:09:47 +0000 (15:09 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 26 Aug 2011 08:05:51 +0000 (10:05 +0200)
Otherwise, discoverer will generated an "inner" codec
where there can be a tranformation (eg, kate -> DVD SPU,
and various ->text/x-pango-markup).

https://bugzilla.gnome.org/show_bug.cgi?id=639055

gst-libs/gst/pbutils/gstdiscoverer.c

index b711d77..1b90310 100644 (file)
@@ -842,6 +842,9 @@ child_is_raw_stream (GstCaps * parent, GstCaps * child)
     return TRUE;
   }
 
+  if (is_subtitle_caps (parent))
+    return TRUE;
+
   return FALSE;
 }