diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2018-05-05 16:14:14 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2018-05-05 16:32:19 +0200 |
commit | 0680c3e47d496fecd62d6f20ee8bda76f947521c (patch) | |
tree | 2b6fa40b3cd0ec89fc2702eb5e267d1f9b4b7606 /gst | |
parent | 83192bce84fc96a1a4c6cf4a42de7ba4f57cb90a (diff) | |
download | gstreamer-plugins-bad-0680c3e47d496fecd62d6f20ee8bda76f947521c.tar.gz |
videoaggregator: Move needs_alpha pad field to the private struct
And also trigger renegotiation if the value has changed.
https://bugzilla.gnome.org/show_bug.cgi?id=795836
Diffstat (limited to 'gst')
-rw-r--r-- | gst/compositor/compositor.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/compositor/compositor.c b/gst/compositor/compositor.c index f5c83fe77..2c5b76bdb 100644 --- a/gst/compositor/compositor.c +++ b/gst/compositor/compositor.c @@ -198,7 +198,8 @@ gst_compositor_pad_set_property (GObject * object, guint prop_id, break; case PROP_PAD_CROSSFADE_RATIO: pad->crossfade = g_value_get_double (value); - GST_VIDEO_AGGREGATOR_PAD (pad)->needs_alpha = pad->crossfade >= 0.0f; + gst_video_aggregator_pad_set_needs_alpha (GST_VIDEO_AGGREGATOR_PAD (pad), + pad->crossfade >= 0.0f); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); |