mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 00:45:56 +00:00
rawvideoparse: set format from caps in gst_raw_video_parse_set_config_from_caps
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1970>
This commit is contained in:
parent
b2232c5c9a
commit
b351da5e83
1 changed files with 1 additions and 1 deletions
|
@ -846,6 +846,7 @@ gst_raw_video_parse_set_config_from_caps (GstRawBaseParse * raw_base_parse,
|
|||
if (config_ptr->ready) {
|
||||
config_ptr->width = GST_VIDEO_INFO_WIDTH (&(config_ptr->info));
|
||||
config_ptr->height = GST_VIDEO_INFO_HEIGHT (&(config_ptr->info));
|
||||
config_ptr->format = GST_VIDEO_INFO_FORMAT (&(config_ptr->info));
|
||||
config_ptr->pixel_aspect_ratio_n =
|
||||
GST_VIDEO_INFO_PAR_N (&(config_ptr->info));
|
||||
config_ptr->pixel_aspect_ratio_d =
|
||||
|
@ -853,7 +854,6 @@ gst_raw_video_parse_set_config_from_caps (GstRawBaseParse * raw_base_parse,
|
|||
config_ptr->framerate_n = GST_VIDEO_INFO_FPS_N (&(config_ptr->info));
|
||||
config_ptr->framerate_d = GST_VIDEO_INFO_FPS_D (&(config_ptr->info));
|
||||
config_ptr->interlaced = GST_VIDEO_INFO_IS_INTERLACED (&(config_ptr->info));
|
||||
config_ptr->height = GST_VIDEO_INFO_HEIGHT (&(config_ptr->info));
|
||||
config_ptr->top_field_first = 0;
|
||||
config_ptr->frame_size = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue