mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
curlbasesink: don't replace specific error messages with a generic one
Only set an error if we haven't set one already.
This commit is contained in:
parent
2e51ba1219
commit
a80cde8cb6
1 changed files with 3 additions and 1 deletions
|
@ -1134,7 +1134,9 @@ gst_curl_base_sink_transfer_setup_unlocked (GstCurlBaseSink * sink)
|
|||
}
|
||||
|
||||
if (!gst_curl_base_sink_transfer_set_options_unlocked (sink)) {
|
||||
sink->error = g_strdup ("failed to setup curl easy handle");
|
||||
if (!sink->error) {
|
||||
sink->error = g_strdup ("failed to setup curl easy handle");
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue