mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
rtsp-media-factory: Add missing break statements
This resulted in warnings/assertions whenever one accessed the max-mcast-ttl property. CID #1439515 CID #1439523
This commit is contained in:
parent
a44a729acb
commit
ff51e9a68d
1 changed files with 2 additions and 0 deletions
|
@ -350,6 +350,7 @@ gst_rtsp_media_factory_get_property (GObject * object, guint propid,
|
|||
case PROP_MAX_MCAST_TTL:
|
||||
g_value_set_uint (value,
|
||||
gst_rtsp_media_factory_get_max_mcast_ttl (factory));
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, propid, pspec);
|
||||
}
|
||||
|
@ -403,6 +404,7 @@ gst_rtsp_media_factory_set_property (GObject * object, guint propid,
|
|||
case PROP_MAX_MCAST_TTL:
|
||||
gst_rtsp_media_factory_set_max_mcast_ttl (factory,
|
||||
g_value_get_uint (value));
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, propid, pspec);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue