Víctor Manuel Jáquez Leal 2fb3dddd51 y4menc: handle padded frames
Since y4menc inherits from GstVideoEncoder, it negotiates upstream buffer pools
with GstVideoMeta support. Thus, certain decoders might use that meta for
frames with padded memory. Nonetheless y4menc assumes only linear memory video
frames, without padding.

This patch will copy frames using gst_video_frame_copy() if buffer has
GstVideoMeta or its video info is padded with its custom video info. Otherwise,
it ill call the agnostic gst_buffer_copy() for a shallow copy.

Supersedes: !5042

Fixes: #2765
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8654>
2025-03-27 14:28:03 +01:00
..
2025-03-13 11:37:35 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00
2025-03-13 11:37:35 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00