d3d12converter: Fix fallback upload process
Fixing typo Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9157>
This commit is contained in:
parent
07bac2b40a
commit
b6628e5b92
@ -376,7 +376,7 @@ gst_d3d12_unpack_upload (GstD3D12Unpack * self, GstBuffer * in_buf,
|
|||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gst_d3d12_buffer_copy_into (upload_buf, in_buf, &priv->upload_info)) {
|
if (!gst_d3d12_buffer_copy_into (upload_buf, in_buf, &priv->upload_info)) {
|
||||||
GST_ERROR_OBJECT (self, "Couldn't copy to upload buffer");
|
GST_ERROR_OBJECT (self, "Couldn't copy to upload buffer");
|
||||||
gst_buffer_unref (upload_buf);
|
gst_buffer_unref (upload_buf);
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user