summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst/playback/gstparsebin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/playback/gstparsebin.c b/gst/playback/gstparsebin.c
index 6c3e101b8..289d0c013 100644
--- a/gst/playback/gstparsebin.c
+++ b/gst/playback/gstparsebin.c
@@ -3884,6 +3884,7 @@ guess_stream_type_from_caps (GstCaps * caps)
return GST_STREAM_TYPE_AUDIO;
if (g_str_has_prefix (name, "text/") ||
g_str_has_prefix (name, "subpicture/") ||
+ g_str_has_prefix (name, "subtitle/") ||
g_str_has_prefix (name, "closedcaption/"))
return GST_STREAM_TYPE_TEXT;