diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2015-10-06 21:23:11 +0530 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-10-07 19:03:41 +0100 |
commit | 36f20693c1e7bcc8b0968bef91e5018d617a1f2e (patch) | |
tree | 635dd216168987c123c2c3523b2c0a5a4c8c99c9 | |
parent | 5085e5f73caf8e3bf679071b6d37df5c0b3781e2 (diff) | |
download | gstreamer-plugins-bad-36f20693c1e7bcc8b0968bef91e5018d617a1f2e.tar.gz |
glvideomixer: Proxy the ignore-eos videoaggregator property as well
Identical to how the z-order property is proxied
-rw-r--r-- | ext/gl/gstglvideomixer.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/gl/gstglvideomixer.c b/ext/gl/gstglvideomixer.c index d17a74494..9376793be 100644 --- a/ext/gl/gstglvideomixer.c +++ b/ext/gl/gstglvideomixer.c @@ -222,6 +222,7 @@ gst_gl_mixer_control_binding_proxy_new (GstObject * object, #define DEFAULT_PAD_HEIGHT 0 #define DEFAULT_PAD_ALPHA 1.0 #define DEFAULT_PAD_ZORDER 0 +#define DEFAULT_PAD_IGNORE_EOS FALSE enum { @@ -232,6 +233,7 @@ enum PROP_INPUT_HEIGHT, PROP_INPUT_ALPHA, PROP_INPUT_ZORDER, + PROP_INPUT_IGNORE_EOS, }; static void gst_gl_video_mixer_input_get_property (GObject * object, @@ -272,6 +274,11 @@ gst_gl_video_mixer_input_class_init (GstGLVideoMixerInputClass * klass) g_param_spec_uint ("zorder", "Z-Order", "Z Order of the picture", 0, 10000, DEFAULT_PAD_ZORDER, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS)); + g_object_class_install_property (gobject_class, PROP_INPUT_IGNORE_EOS, + g_param_spec_boolean ("ignore-eos", "Ignore EOS", "Aggregate the last " + "frame on pads that are EOS till they are released", + DEFAULT_PAD_IGNORE_EOS, + G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_INPUT_XPOS, g_param_spec_int ("xpos", "X Position", "X Position of the picture", G_MININT, G_MAXINT, DEFAULT_PAD_XPOS, |