d3d11: pluginutils: Fix wrong gst_memory_unmap() on _map() failure
It was obvious typo Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2164>
This commit is contained in:
parent
edbf0a6622
commit
41879b20c2
@ -888,7 +888,7 @@ error:
|
||||
{
|
||||
guint i;
|
||||
for (i = 0; i < num_mapped; i++) {
|
||||
GstMemory *mem = gst_buffer_peek_memory (buffer, num_mapped);
|
||||
GstMemory *mem = gst_buffer_peek_memory (buffer, i);
|
||||
gst_memory_unmap (mem, &info[i]);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user