diff options
author | Edward Hervey <edward@collabora.com> | 2014-04-08 11:20:29 +0200 |
---|---|---|
committer | Edward Hervey <edward@collabora.com> | 2014-04-08 11:20:29 +0200 |
commit | 8ca5387b0f03453a3947980c29b134e1f1241a30 (patch) | |
tree | 339fcb16f2eec106522538db61565c65c9bac0d7 /ext/mpeg2enc/gstmpeg2enc.cc | |
parent | 334bcd433bba0235de98e2980b54ed476271fbfc (diff) | |
download | gstreamer-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.cc | 1 |
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; |