mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 23:58:17 +00:00
rtmpsrc: fix wrong use of GST_ELEMENT_ERROR
This commit is contained in:
parent
315c690347
commit
d6c908ea59
1 changed files with 1 additions and 1 deletions
|
@ -538,7 +538,7 @@ gst_rtmp_src_start (GstBaseSrc * basesrc)
|
|||
src->rtmp = RTMP_Alloc ();
|
||||
RTMP_Init (src->rtmp);
|
||||
if (!RTMP_SetupURL (src->rtmp, uri_copy)) {
|
||||
GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ, NULL,
|
||||
GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ, (NULL),
|
||||
("Failed to setup URL '%s'", src->uri));
|
||||
g_free (uri_copy);
|
||||
RTMP_Free (src->rtmp);
|
||||
|
|
Loading…
Reference in a new issue