Sets the result from error, and takes over the caller's ownership of error, so the caller does not need to free it any more.
a GError
Deprecated: Use gstreamer.Task and Task.returnError instead.
2.28
Sets the result from error, and takes over the caller's ownership of error, so the caller does not need to free it any more.