glimagesink: add missing handle-events/ignore-alpha property to the bin
authorMatthew Waters <matthew@centricular.com>
Mon, 15 Jun 2015 12:43:54 +0000 (22:43 +1000)
committerMatthew Waters <matthew@centricular.com>
Mon, 15 Jun 2015 12:44:31 +0000 (22:44 +1000)
ext/gl/gstglimagesink.c

index 0893dca4969e0d205a05629c65faefe4ce6c322c..8b45459ae546b0775934a41c0f3dd6c8283a0d79 100644 (file)
@@ -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));