gstreamer/sys/xvimage
Víctor Manuel Jáquez Leal 87193af4d5 xvimagesink: Handle cropping when copying frames.
Cropping was not handled properly when frames have to be copied to
xvimage's buffer pool, first because the crop meta were dropped, and
second because the allocated frame size in xvimage's buffer pool were
smaller than the incoming frame.

This patch updates xvimagesink's video info when propose_allocation()
is called, and copies the GstVideoCropMeta from source frame to
destination one.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1088>
2021-04-28 11:00:56 +00:00
..
meson.build xvimage: remove unused HAVE_XVIDEO define 2019-12-09 07:33:55 +00:00
xvcontext.c xvimage: allow per feature registration 2021-03-29 15:59:53 +02:00
xvcontext.h gl,video: Make ptrs to VideoInfo and (GL)AllocationParams immutable 2021-01-14 11:53:10 +00:00
xvimage.c xvimage: allow per feature registration 2021-03-29 15:59:53 +02:00
xvimageallocator.c xvimageallocator: Fix build warning error 2017-12-06 15:28:54 -05:00
xvimageallocator.h xvimageallocator: const correctness in gst_xvimage_allocator_alloc(). 2016-07-18 14:17:09 +01:00
xvimagepool.c xvimage: allow per feature registration 2021-03-29 15:59:53 +02:00
xvimagepool.h xvimagepool: Update size, stride, and offset with allocated XvImage 2019-11-18 07:41:10 +00:00
xvimagesink.c xvimagesink: Handle cropping when copying frames. 2021-04-28 11:00:56 +00:00
xvimagesink.h xvimage: allow per feature registration 2021-03-29 15:59:53 +02:00