summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVineeth TM <vineeth.tm@samsung.com>2015-06-22 11:03:15 +0900
committerTim-Philipp Müller <tim@centricular.com>2015-06-22 09:20:18 +0100
commitdd3f3142bca5e8750f17d2fdde4c0a689059f319 (patch)
tree6d24393bc96cabcfc971386c36823ff6a4223acd
parentd43a8498338e400074c18311b86ddd171bc6795c (diff)
uvch264_src: add missing break in caps query handler
There is a missing break statement in switch, which will result in executing default case as well resulting in wrong behavior https://bugzilla.gnome.org/show_bug.cgi?id=751305
-rw-r--r--sys/uvch264/gstuvch264_src.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/uvch264/gstuvch264_src.c b/sys/uvch264/gstuvch264_src.c
index 4011e973c..5ef6c966b 100644
--- a/sys/uvch264/gstuvch264_src.c
+++ b/sys/uvch264/gstuvch264_src.c
@@ -3071,6 +3071,7 @@ gst_uvc_h264_src_query (GstPad * pad, GstObject * parent, GstQuery * query)
gst_query_set_caps_result (query,
gst_uvc_h264_src_getcaps (pad, parent, query));
ret = TRUE;
+ break;
default:
ret = gst_pad_query_default (pad, parent, query);
break;