summaryrefslogtreecommitdiff
path: root/ext/mpeg2enc/gstmpeg2enc.cc
diff options
context:
space:
mode:
authorEdward Hervey <edward@collabora.com>2014-04-08 11:20:29 +0200
committerEdward Hervey <edward@collabora.com>2014-04-08 11:20:29 +0200
commit8ca5387b0f03453a3947980c29b134e1f1241a30 (patch)
tree339fcb16f2eec106522538db61565c65c9bac0d7 /ext/mpeg2enc/gstmpeg2enc.cc
parent334bcd433bba0235de98e2980b54ed476271fbfc (diff)
downloadgstreamer-plugins-bad-8ca5387b0f03453a3947980c29b134e1f1241a30.tar.gz
mpeg2enc: Add missing break in switch
QUERY_CAPS is fully handled, we don't need to passthrough to the default handler. CID #1139756
Diffstat (limited to 'ext/mpeg2enc/gstmpeg2enc.cc')
-rw-r--r--ext/mpeg2enc/gstmpeg2enc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mpeg2enc/gstmpeg2enc.cc b/ext/mpeg2enc/gstmpeg2enc.cc
index c6f7c801d..a4ce42282 100644
--- a/ext/mpeg2enc/gstmpeg2enc.cc
+++ b/ext/mpeg2enc/gstmpeg2enc.cc
@@ -362,6 +362,7 @@ gst_mpeg2enc_sink_query (GstPad * pad, GstObject * parent,
gst_caps_unref (caps);
res = TRUE;
}
+ break;
default:
res = gst_pad_query_default (pad, parent, query);
break;