mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 07:28:53 +00:00
videoaggregator: drop ABI compat in padding for new struct member
Don't really have to do that while it's in -bad and most users are in-tree anyway.
This commit is contained in:
parent
6c79262b6e
commit
eca9739bca
2 changed files with 2 additions and 2 deletions
|
@ -521,7 +521,7 @@ gst_video_aggregator_find_best_format (GstVideoAggregator * vagg,
|
||||||
GINT_TO_POINTER (format_number));
|
GINT_TO_POINTER (format_number));
|
||||||
|
|
||||||
/* If that pad is the first with alpha, set it as the new best format */
|
/* If that pad is the first with alpha, set it as the new best format */
|
||||||
if (!need_alpha && (pad->ABI.needs_alpha
|
if (!need_alpha && (pad->needs_alpha
|
||||||
&& (!GST_VIDEO_FORMAT_INFO_HAS_ALPHA (pad->info.finfo)))) {
|
&& (!GST_VIDEO_FORMAT_INFO_HAS_ALPHA (pad->info.finfo)))) {
|
||||||
need_alpha = TRUE;
|
need_alpha = TRUE;
|
||||||
/* Just fallback to ARGB in case we require alpha but the input pad
|
/* Just fallback to ARGB in case we require alpha but the input pad
|
||||||
|
|
|
@ -195,7 +195,7 @@ gst_compositor_pad_set_property (GObject * object, guint prop_id,
|
||||||
break;
|
break;
|
||||||
case PROP_PAD_CROSSFADE_RATIO:
|
case PROP_PAD_CROSSFADE_RATIO:
|
||||||
pad->crossfade = g_value_get_double (value);
|
pad->crossfade = g_value_get_double (value);
|
||||||
GST_VIDEO_AGGREGATOR_PAD (pad)->ABI.needs_alpha = pad->crossfade >= 0.0f;
|
GST_VIDEO_AGGREGATOR_PAD (pad)->needs_alpha = pad->crossfade >= 0.0f;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||||
|
|
Loading…
Reference in a new issue