mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +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/2220>
This commit is contained in:
parent
c88a68c411
commit
0ea41bac13
1 changed files with 1 additions and 0 deletions
|
@ -762,6 +762,7 @@ gst_v4l2_video_dec_handle_frame (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);
|
||||
|
||||
if (!gst_video_decoder_negotiate (decoder)) {
|
||||
|
|
Loading…
Reference in a new issue