summaryrefslogtreecommitdiff
path: root/ext/rtmp
diff options
context:
space:
mode:
authorJan Schmidt <jan@centricular.com>2014-03-26 09:05:15 +1100
committerJan Schmidt <jan@centricular.com>2014-03-26 09:05:55 +1100
commit6b784cf808996cc9ea73057b4c76ccd2516f529d (patch)
treefb23eb18cca63abc0a899a000c2385b71ad50a3a /ext/rtmp
parent9adb1734cf39acc7d297d6900415bf678d350a9a (diff)
downloadgstreamer-plugins-bad-6b784cf808996cc9ea73057b4c76ccd2516f529d.tar.gz
rtmpsink: Remove URL check for valid playpath.
The playpath is an optional component of the URL - don't require it.
Diffstat (limited to 'ext/rtmp')
-rw-r--r--ext/rtmp/gstrtmpsink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/rtmp/gstrtmpsink.c b/ext/rtmp/gstrtmpsink.c
index ef44d6c21..58ee057ad 100644
--- a/ext/rtmp/gstrtmpsink.c
+++ b/ext/rtmp/gstrtmpsink.c
@@ -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,