mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
videoaggregator: Don't mix up width and height
CID 1416129
This commit is contained in:
parent
357fc8064a
commit
c28f2f6ce8
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. */
|
* Do not increment best_format_number in that case. */
|
||||||
gst_video_info_set_format (best_info,
|
gst_video_info_set_format (best_info,
|
||||||
GST_VIDEO_FORMAT_ARGB,
|
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
|
} else if (!need_alpha
|
||||||
&& (pad->info.finfo->flags & GST_VIDEO_FORMAT_FLAG_ALPHA)) {
|
&& (pad->info.finfo->flags & GST_VIDEO_FORMAT_FLAG_ALPHA)) {
|
||||||
need_alpha = TRUE;
|
need_alpha = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue