mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
v4l2bufferpool: set GST_BUFFER_COPY_FLAGS to copy flags also
https://bugzilla.gnome.org/show_bug.cgi?id=752618
This commit is contained in:
parent
c1382e97fa
commit
afcd462918
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue