Skip to content

Commit

Permalink
rtsp-media-factory: Add missing break statements
Browse files Browse the repository at this point in the history
This resulted in warnings/assertions whenever one accessed the
max-mcast-ttl property.

CID #1439515
CID #1439523
  • Loading branch information
bilboed committed Sep 19, 2018
1 parent a44a729 commit ff51e9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gst/rtsp-server/rtsp-media-factory.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit ff51e9a

Please sign in to comment.