mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
v4l2videodec: copy colorimetry values to output_state caps
This is to avoid transcoding negotiation fail between v4l2h265dec and v4l2h264enc caused by colorimetry mismatch. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2192>
This commit is contained in:
parent
cb8da91f7a
commit
8dcb8a28af
1 changed files with 1 additions and 0 deletions
|
@ -609,6 +609,7 @@ gst_v4l2_video_dec_setup_capture (GstVideoDecoder * decoder)
|
|||
|
||||
/* Copy the rest of the information, there might be more in the future */
|
||||
output_state->info.interlace_mode = info.interlace_mode;
|
||||
output_state->info.colorimetry = info.colorimetry;
|
||||
gst_video_codec_state_unref (output_state);
|
||||
gst_v4l2_buffer_pool_enable_resolution_change (GST_V4L2_BUFFER_POOL
|
||||
(self->v4l2capture->pool));
|
||||
|
|
Loading…
Reference in a new issue