mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue