mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
adaptivedemux: Avoid using unset GError
gst_uri_handler_set_uri() doesn't guarantee the GError will be set if it returns FALSE.
This commit is contained in:
parent
a5ce16f739
commit
23a3a2c5cb
1 changed files with 1 additions and 1 deletions
|
@ -2534,7 +2534,7 @@ gst_adaptive_demux_stream_update_source (GstAdaptiveDemuxStream * stream,
|
|||
|
||||
stream->src = NULL;
|
||||
GST_DEBUG_OBJECT (demux, "Failed to re-use old source element: %s",
|
||||
err->message);
|
||||
err ? err->message : "Unknown error");
|
||||
g_clear_error (&err);
|
||||
gst_object_unref (stream->src_srcpad);
|
||||
stream->src_srcpad = NULL;
|
||||
|
|
Loading…
Reference in a new issue