mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
media-factory: require an url
This commit is contained in:
parent
922a786519
commit
6b36241816
1 changed files with 1 additions and 0 deletions
|
@ -849,6 +849,7 @@ gst_rtsp_media_factory_create_element (GstRTSPMediaFactory * factory,
|
|||
GstElement *result;
|
||||
|
||||
g_return_val_if_fail (GST_IS_RTSP_MEDIA_FACTORY (factory), NULL);
|
||||
g_return_val_if_fail (url != NULL, NULL);
|
||||
|
||||
klass = GST_RTSP_MEDIA_FACTORY_GET_CLASS (factory);
|
||||
|
||||
|
|
Loading…
Reference in a new issue