Commit ff51e9a6 authored by Edward Hervey's avatar Edward Hervey 🤘 Committed by Edward Hervey

rtsp-media-factory: Add missing break statements

This resulted in warnings/assertions whenever one accessed the
max-mcast-ttl property.

CID #1439515
CID #1439523
parent a44a729a
...@@ -350,6 +350,7 @@ gst_rtsp_media_factory_get_property (GObject * object, guint propid, ...@@ -350,6 +350,7 @@ gst_rtsp_media_factory_get_property (GObject * object, guint propid,
case PROP_MAX_MCAST_TTL: case PROP_MAX_MCAST_TTL:
g_value_set_uint (value, g_value_set_uint (value,
gst_rtsp_media_factory_get_max_mcast_ttl (factory)); gst_rtsp_media_factory_get_max_mcast_ttl (factory));
break;
default: default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, propid, pspec); G_OBJECT_WARN_INVALID_PROPERTY_ID (object, propid, pspec);
} }
...@@ -403,6 +404,7 @@ gst_rtsp_media_factory_set_property (GObject * object, guint propid, ...@@ -403,6 +404,7 @@ gst_rtsp_media_factory_set_property (GObject * object, guint propid,
case PROP_MAX_MCAST_TTL: case PROP_MAX_MCAST_TTL:
gst_rtsp_media_factory_set_max_mcast_ttl (factory, gst_rtsp_media_factory_set_max_mcast_ttl (factory,
g_value_get_uint (value)); g_value_get_uint (value));
break;
default: default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, propid, pspec); G_OBJECT_WARN_INVALID_PROPERTY_ID (object, propid, pspec);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment