v4l2bufferpool: set GST_BUFFER_COPY_FLAGS to copy flags also

https://bugzilla.gnome.org/show_bug.cgi?id=752618
This commit is contained in:
Hyunjun Ko 2015-07-23 15:00:08 +09:00 committed by Nicolas Dufresne
parent c1382e97fa
commit afcd462918

View file

@ -149,7 +149,8 @@ gst_v4l2_buffer_pool_copy_buffer (GstV4l2BufferPool * pool, GstBuffer * dest,
gst_buffer_resize (dest, 0, gst_buffer_get_size (src)); gst_buffer_resize (dest, 0, gst_buffer_get_size (src));
} }
gst_buffer_copy_into (dest, src, GST_BUFFER_COPY_TIMESTAMPS, 0, -1); gst_buffer_copy_into (dest, src,
GST_BUFFER_COPY_FLAGS | GST_BUFFER_COPY_TIMESTAMPS, 0, -1);
GST_CAT_LOG_OBJECT (GST_CAT_PERFORMANCE, pool, "slow copy into buffer %p", GST_CAT_LOG_OBJECT (GST_CAT_PERFORMANCE, pool, "slow copy into buffer %p",
dest); dest);