diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/encode.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/encode.c b/src/encode.c index a57c8a9..1eb77d9 100644 --- a/src/encode.c +++ b/src/encode.c @@ -41,7 +41,12 @@ on_decodebin_pad_added (GstElement *decodebin, caps = gst_pad_query_caps (srcpad, NULL); name = gst_caps_to_string (caps); - /* FIXME: We don't try to fetch a compatible pad for raw audio because + /* BUG: We need to ignore subtitle streams. Trying to request + * a pad for this from encodebin causes a pipeline stall. */ + if (g_str_has_prefix (name, "text/x-raw")) + goto out; + + /* BUG: We don't try to fetch a compatible pad for raw audio because * that somehow always fails to link. Transmageddon does the same. */ if (!g_str_has_prefix (name, "audio/x-raw")) /* If we successfully requested a compatible sink pad in |