Skip to content

rawvideoparse: set format from caps in gst_raw_video_parse_set_config_from_caps

Corentin Damman requested to merge (removed):rawvideoparse-format-caps-fix into main

Currently, the format is not set from the caps in gst_raw_video_parse_set_config_from_caps, resulting in a wrong format in meta being added in gst_raw_video_parse_process if the config should come from the sink caps (GST_RAW_BASE_PARSE_CONFIG_SINKCAPS mode). Hence, if any downstream element uses gst_video_frame_map for example, it will fail with: (gst-launch-1.0:18444): GStreamer-Video-CRITICAL **: 11:02:58.843: gst_video_frame_map_id: assertion 'info->finfo->format == meta->format' failed

Merge request reports