media-factory: require an url

This commit is contained in:
Wim Taymans 2012-11-28 12:10:14 +01:00
parent 922a786519
commit 6b36241816

View file

@ -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);