mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
rtmpsink: Remove URL check for valid playpath.
The playpath is an optional component of the URL - don't require it.
This commit is contained in:
parent
9adb1734cf
commit
6b784cf808
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ gst_rtmp_sink_uri_set_uri (GstURIHandler * handler, const gchar * uri,
|
|||
AVal playpath, app;
|
||||
|
||||
if (!RTMP_ParseURL (uri, &protocol, &host, &port, &playpath, &app) ||
|
||||
!host.av_len || !playpath.av_len) {
|
||||
!host.av_len) {
|
||||
GST_ELEMENT_ERROR (sink, RESOURCE, OPEN_WRITE,
|
||||
("Failed to parse URI %s", uri), (NULL));
|
||||
g_set_error (error, GST_URI_ERROR, GST_URI_ERROR_BAD_URI,
|
||||
|
|
Loading…
Reference in a new issue