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
@ -1134,7 +1134,9 @@ gst_curl_base_sink_transfer_setup_unlocked (GstCurlBaseSink * sink)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!gst_curl_base_sink_transfer_set_options_unlocked (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;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user