From 36f20693c1e7bcc8b0968bef91e5018d617a1f2e Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Tue, 6 Oct 2015 21:23:11 +0530 Subject: glvideomixer: Proxy the ignore-eos videoaggregator property as well Identical to how the z-order property is proxied --- ext/gl/gstglvideomixer.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ext/gl/gstglvideomixer.c') 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, -- cgit v1.2.1