[perl-GStreamer-Interfaces] Add GStreamer::XOverlay->handle_events
- From: Torsten Schönfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-GStreamer-Interfaces] Add GStreamer::XOverlay->handle_events
- Date: Sat, 20 Mar 2010 13:02:31 +0000 (UTC)
commit 83488c5cb3d7da5194801cd4ac8488b1203bb488
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date: Sat Mar 20 13:49:03 2010 +0100
Add GStreamer::XOverlay->handle_events
Interfaces.pm | 4 +++-
t/GstXOverlay.t | 4 ++++
xs/GstXOverlay.xs | 6 ++++++
3 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/Interfaces.pm b/Interfaces.pm
index 696242c..f3ce935 100644
--- a/Interfaces.pm
+++ b/Interfaces.pm
@@ -91,6 +91,8 @@ and L<GStreamer::XOverlay>.
=item $overlay->prepare_xwindow_id
+=item $overlay->handle_events (bool) (since 0.10.12)
+
=back
=head1 AUTHOR
@@ -103,6 +105,6 @@ and L<GStreamer::XOverlay>.
=head1 COPYRIGHT
-Copyright (C) 2005-2006 by the gtk2-perl team
+Copyright (C) 2005-2010 by the gtk2-perl team
=cut
diff --git a/t/GstXOverlay.t b/t/GstXOverlay.t
index 69108bc..4c6f0c3 100644
--- a/t/GstXOverlay.t
+++ b/t/GstXOverlay.t
@@ -22,5 +22,9 @@ SKIP: {
$element -> expose();
$element -> got_xwindow_id(0);
$element -> prepare_xwindow_id();
+
+ skip 'need 0.10.12', 0
+ unless GStreamer::Interfaces->CHECK_VERSION(0, 10, 12);
+ $element -> handle_events(TRUE);
}
diff --git a/xs/GstXOverlay.xs b/xs/GstXOverlay.xs
index c256930..7dbd542 100644
--- a/xs/GstXOverlay.xs
+++ b/xs/GstXOverlay.xs
@@ -29,3 +29,9 @@ void gst_x_overlay_expose (GstXOverlay *overlay);
void gst_x_overlay_got_xwindow_id (GstXOverlay *overlay, gulong xwindow_id);
void gst_x_overlay_prepare_xwindow_id (GstXOverlay *overlay);
+
+#if GST_INTERFACES_CHECK_VERSION(0, 10, 12)
+
+void gst_x_overlay_handle_events (GstXOverlay * overlay, gboolean handle_events);
+
+#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]