mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
souphttpsrc: fix critical setting a NULL uri redirection
This commit is contained in:
parent
b9faeab236
commit
24b4ea3418
1 changed files with 2 additions and 1 deletions
|
@ -1466,7 +1466,8 @@ gst_soup_http_src_query (GstBaseSrc * bsrc, GstQuery * query)
|
|||
switch (GST_QUERY_TYPE (query)) {
|
||||
case GST_QUERY_URI:
|
||||
gst_query_set_uri (query, src->location);
|
||||
gst_query_set_uri_redirection (query, src->redirection_uri);
|
||||
if (src->redirection_uri != NULL)
|
||||
gst_query_set_uri_redirection (query, src->redirection_uri);
|
||||
ret = TRUE;
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue