mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
glvideomixer: Proxy the ignore-eos videoaggregator property as well
Identical to how the z-order property is proxied
This commit is contained in:
parent
b66af464df
commit
1cdc07b307
1 changed files with 7 additions and 0 deletions
|
@ -222,6 +222,7 @@ gst_gl_mixer_control_binding_proxy_new (GstObject * object,
|
||||||
#define DEFAULT_PAD_HEIGHT 0
|
#define DEFAULT_PAD_HEIGHT 0
|
||||||
#define DEFAULT_PAD_ALPHA 1.0
|
#define DEFAULT_PAD_ALPHA 1.0
|
||||||
#define DEFAULT_PAD_ZORDER 0
|
#define DEFAULT_PAD_ZORDER 0
|
||||||
|
#define DEFAULT_PAD_IGNORE_EOS FALSE
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
|
@ -232,6 +233,7 @@ enum
|
||||||
PROP_INPUT_HEIGHT,
|
PROP_INPUT_HEIGHT,
|
||||||
PROP_INPUT_ALPHA,
|
PROP_INPUT_ALPHA,
|
||||||
PROP_INPUT_ZORDER,
|
PROP_INPUT_ZORDER,
|
||||||
|
PROP_INPUT_IGNORE_EOS,
|
||||||
};
|
};
|
||||||
|
|
||||||
static void gst_gl_video_mixer_input_get_property (GObject * object,
|
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",
|
g_param_spec_uint ("zorder", "Z-Order", "Z Order of the picture",
|
||||||
0, 10000, DEFAULT_PAD_ZORDER,
|
0, 10000, DEFAULT_PAD_ZORDER,
|
||||||
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
|
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_object_class_install_property (gobject_class, PROP_INPUT_XPOS,
|
||||||
g_param_spec_int ("xpos", "X Position", "X Position of the picture",
|
g_param_spec_int ("xpos", "X Position", "X Position of the picture",
|
||||||
G_MININT, G_MAXINT, DEFAULT_PAD_XPOS,
|
G_MININT, G_MAXINT, DEFAULT_PAD_XPOS,
|
||||||
|
|
Loading…
Reference in a new issue