mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
metavideo: fix for API change
This commit is contained in:
parent
40aad050e2
commit
8ede2683df
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ find_mem_for_offset (GstBuffer * buffer, guint * offset, GstMapFlags flags)
|
|||
gsize size;
|
||||
|
||||
mem = gst_buffer_peek_memory (buffer, i, flags);
|
||||
size = gst_memory_get_sizes (mem, NULL);
|
||||
size = gst_memory_get_sizes (mem, NULL, NULL);
|
||||
|
||||
if (*offset < size) {
|
||||
res = mem;
|
||||
|
|
Loading…
Reference in a new issue