mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
videoaggregator: Don't mix up width and height
CID 1416129
This commit is contained in:
parent
afb652c169
commit
088a5cec64
1 changed files with 2 additions and 2 deletions
|
@ -529,8 +529,8 @@ gst_video_aggregator_find_best_format (GstVideoAggregator * vagg,
|
|||
* Do not increment best_format_number in that case. */
|
||||
gst_video_info_set_format (best_info,
|
||||
GST_VIDEO_FORMAT_ARGB,
|
||||
GST_VIDEO_INFO_HEIGHT (&pad->info),
|
||||
GST_VIDEO_INFO_WIDTH (&pad->info));
|
||||
GST_VIDEO_INFO_WIDTH (&pad->info),
|
||||
GST_VIDEO_INFO_HEIGHT (&pad->info));
|
||||
} else if (!need_alpha
|
||||
&& (pad->info.finfo->flags & GST_VIDEO_FORMAT_FLAG_ALPHA)) {
|
||||
need_alpha = TRUE;
|
||||
|
|
Loading…
Reference in a new issue