From 01778c5ac9bf44903f5b4c3f4f20618b2e26b4c4 Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Tue, 29 Mar 2016 10:23:08 +0100 Subject: [PATCH] subparse: add missing break between formats 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/subparse/gstsubparse.c b/gst/subparse/gstsubparse.c index c4c4b47b38..1fdf9c9ad9 100644 --- a/gst/subparse/gstsubparse.c +++ b/gst/subparse/gstsubparse.c @@ -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;