metavideo: fix for API change

This commit is contained in:
Wim Taymans 2011-07-11 18:21:49 +02:00
parent 40aad050e2
commit 8ede2683df

View file

@ -119,7 +119,7 @@ find_mem_for_offset (GstBuffer * buffer, guint * offset, GstMapFlags flags)
gsize size; gsize size;
mem = gst_buffer_peek_memory (buffer, i, flags); 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) { if (*offset < size) {
res = mem; res = mem;