mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
There is a bug in GStreamer 1.22 that prevents video playback when some of the v4l2codecs are paired with sinks that do not support GstVideoMeta. This is the case of the Qt 6.9 sink used by some of the Qt components. For example, when the v4l2codecs-vp8dec decoder is paired with QMediaPlayer, video playback fails to start with the following error: WARN videodecoder gstvideodecoder.c:4409:gst_video_decoder_negotiate_pool: Subclass failed to decide allocation ERROR videodecoder gstvideodecoder.c:4635:gst_video_decoder_allocate_output_buffer: Failed to allocate the buffer.. WARN videodecoder gstvideodecoder.c:4409:gst_video_decoder_negotiate_pool: Subclass failed to decide allocation WARN matroskademux matroska-demux.c:6131:gst_matroska_demux_loop: error: Internal data stream error. WARN matroskademux matroska-demux.c:6131:gst_matroska_demux_loop: error: streaming stopped, reason not-negotiated (-4) This problem is already fixed in GStreamer 1.24, so backport the fix. This fixes the buffer allocation failure for H.264, H.265, and VP8. CC: Steve Sakoman <steve@sakoman.com> CC: Anuj Mittal <anuj.mittal@intel.com> (From OE-Core rev: 1be0de000bb852f1acc9644c1cb702336d7fdd61) Signed-off-by: Daniel Semkowicz <dse@thaumatec.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>