subparse: add missing break between formats
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Tue, 29 Mar 2016 09:23:08 +0000 (10:23 +0100)
committerLuis <luis@goodgumbo>
Tue, 29 Mar 2016 09:27:40 +0000 (11:27 +0200)
A break is missing at the end of case GST_SUB_PARSE_FORMAT_LRC or it will
fallthrough to WebVTT. This fixes commit fd2a14144a7a.

gst/subparse/gstsubparse.c

index c4c4b47..1fdf9c9 100644 (file)
@@ -2024,6 +2024,7 @@ gst_subparse_type_find (GstTypeFind * tf, gpointer private)
     case GST_SUB_PARSE_FORMAT_LRC:
       GST_DEBUG ("LRC format detected");
       caps = LRC_CAPS;
+      break;
     case GST_SUB_PARSE_FORMAT_VTT:
       GST_DEBUG ("WebVTT format detected");
       caps = VTT_CAPS;