Don't really have to do that while it's in -bad and most users
are in-tree anyway.
GINT_TO_POINTER (format_number));
/* 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)))) {
need_alpha = TRUE;
/* Just fallback to ARGB in case we require alpha but the input pad
guint zorder;
gboolean ignore_eos;
+ /* Subclasses can force an alpha channel in the (input thus output)
+ * colorspace format */
+ gboolean needs_alpha;
+
/* < private > */
GstVideoAggregatorPadPrivate *priv;
- union {
- /* Subclasses can force an alpha channel in the (input thus output)
- * colorspace format */
- gboolean needs_alpha;
- gpointer _gst_reserved[GST_PADDING];
- } ABI;
+
+ gpointer _gst_reserved[GST_PADDING];
};
/**
break;
case PROP_PAD_CROSSFADE_RATIO:
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;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);