From: Matthew Waters Date: Mon, 15 Jun 2015 12:43:54 +0000 (+1000) Subject: glimagesink: add missing handle-events/ignore-alpha property to the bin X-Git-Tag: 1.19.3~507^2~8495 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=890de823e632fbf2380eac77ab27f9964c7a61d0;p=platform%2Fupstream%2Fgstreamer.git glimagesink: add missing handle-events/ignore-alpha property to the bin --- diff --git a/ext/gl/gstglimagesink.c b/ext/gl/gstglimagesink.c index 0893dca496..8b45459ae5 100644 --- a/ext/gl/gstglimagesink.c +++ b/ext/gl/gstglimagesink.c @@ -118,6 +118,7 @@ enum PROP_BIN_PIXEL_ASPECT_RATIO, PROP_BIN_HANDLE_EVENTS, PROP_BIN_CONTEXT, + PROP_BIN_IGNORE_ALPHA, PROP_BIN_SHOW_PREROLL_FRAME, }; @@ -200,6 +201,10 @@ gst_gl_image_sink_bin_class_init (GstGLImageSinkBinClass * klass) DEFAULT_FORCE_ASPECT_RATIO, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_BIN_HANDLE_EVENTS, + g_param_spec_boolean ("handle-events", "Handle XEvents", + "When enabled, XEvents will be selected and handled", + DEFAULT_HANDLE_EVENTS, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + g_object_class_install_property (gobject_class, PROP_BIN_IGNORE_ALPHA, g_param_spec_boolean ("ignore-alpha", "Ignore Alpha", "When enabled, alpha will be ignored and converted to black", DEFAULT_IGNORE_ALPHA, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));