mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 06:26:23 +00:00
encoding-profile: Add missing break statement
And do a minor cleanup COVERITY CID 1139753
This commit is contained in:
parent
bc8213e21e
commit
b08598da1c
1 changed files with 1 additions and 3 deletions
|
@ -216,11 +216,8 @@ _encoding_profile_get_property (GObject * object, guint prop_id,
|
|||
|
||||
switch (prop_id) {
|
||||
case PROP_RESTRICTION_CAPS:
|
||||
{
|
||||
gst_value_set_caps (value, prof->restriction);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
break;
|
||||
|
@ -237,6 +234,7 @@ _encoding_profile_set_property (GObject * object, guint prop_id,
|
|||
case PROP_RESTRICTION_CAPS:
|
||||
gst_encoding_profile_set_restriction (prof, gst_caps_copy
|
||||
(gst_value_get_caps (value)));
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue