From e51cbc136b2c6d8e9818c20442cf39476ab80e26 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Wed, 24 Aug 2011 15:09:47 +0100 Subject: [PATCH] discoverer: consider subtitles as raw 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst-libs/gst/pbutils/gstdiscoverer.c b/gst-libs/gst/pbutils/gstdiscoverer.c index b711d77a97..1b903108f0 100644 --- a/gst-libs/gst/pbutils/gstdiscoverer.c +++ b/gst-libs/gst/pbutils/gstdiscoverer.c @@ -842,6 +842,9 @@ child_is_raw_stream (GstCaps * parent, GstCaps * child) return TRUE; } + if (is_subtitle_caps (parent)) + return TRUE; + return FALSE; }