[gstreamermm] BaseAudioSink, BaseSink, XOverlay: Add new methods.



commit 57b8091db847f211f1c278d9354b241ffe5c3d8b
Author: José Alburquerque <jaalburqu svn gnome org>
Date:   Thu May 12 12:38:13 2011 -0400

    BaseAudioSink, BaseSink, XOverlay: Add new methods.
    
    	* gstreamer/src/baseaudiosink.hg: Add get_drift_tolerance() and
    	set_drift_tolerance().
    	* gstreamer/src/basesink.hg:  Add set_last_buffer_enabled(),
    	is_last_buffer_enabled(), get_throttle_time() and set_throttle_time().
    	* gstreamer/src/xoverlay.hg: Add got_window_handle() and
    	set_window_handle().

 ChangeLog                      |   11 +++++++++++
 gstreamer/src/baseaudiosink.hg |    3 +++
 gstreamer/src/basesink.hg      |    4 ++++
 gstreamer/src/xoverlay.hg      |    2 ++
 4 files changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d5723cb..37c3ce4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,16 @@
 2011-05-12  José Alburquerque  <jaalburqu svn gnome org>
 
+	BaseAudioSink, BaseSink, XOverlay: Add new methods.
+
+	* gstreamer/src/baseaudiosink.hg: Add get_drift_tolerance() and
+	set_drift_tolerance().
+	* gstreamer/src/basesink.hg:  Add set_last_buffer_enabled(),
+	is_last_buffer_enabled(), get_throttle_time() and set_throttle_time().
+	* gstreamer/src/xoverlay.hg: Add got_window_handle() and
+	set_window_handle().
+
+2011-05-12  José Alburquerque  <jaalburqu svn gnome org>
+
 	Plugins: Add the funnel plug-in.
 
 	* configure.ac:
diff --git a/gstreamer/src/baseaudiosink.hg b/gstreamer/src/baseaudiosink.hg
index b5a74c5..817242a 100644
--- a/gstreamer/src/baseaudiosink.hg
+++ b/gstreamer/src/baseaudiosink.hg
@@ -54,6 +54,9 @@ public:
   _WRAP_METHOD(void set_slave_method(Gst::BaseAudioSinkSlaveMethod method), gst_base_audio_sink_set_slave_method)
   _WRAP_METHOD(Gst::BaseAudioSinkSlaveMethod get_slave_method() const, gst_base_audio_sink_get_slave_method)
 
+  _WRAP_METHOD(gint64 get_drift_tolerance() const, gst_base_audio_sink_get_drift_tolerance)
+  _WRAP_METHOD(void set_drift_tolerance(gint64 drift_tolerance), gst_base_audio_sink_set_drift_tolerance)
+
   _WRAP_PROPERTY("buffer-time", gint64)
   _WRAP_PROPERTY("can-activate-pull", bool)
   _WRAP_PROPERTY("drift-tolerance", gint64)
diff --git a/gstreamer/src/basesink.hg b/gstreamer/src/basesink.hg
index 61785b0..f0f557a 100644
--- a/gstreamer/src/basesink.hg
+++ b/gstreamer/src/basesink.hg
@@ -204,6 +204,10 @@ public:
   _WRAP_METHOD(void set_blocksize(guint blocksize), gst_base_sink_set_blocksize)
   _WRAP_METHOD(guint get_blocksize() const, gst_base_sink_get_blocksize)
 
+  _WRAP_METHOD(void set_last_buffer_enabled(bool enabled), gst_base_sink_set_last_buffer_enabled)
+  _WRAP_METHOD(bool is_last_buffer_enabled() const, gst_base_sink_is_last_buffer_enabled)
+  _WRAP_METHOD(guint64 get_throttle_time() const, gst_base_sink_get_throttle_time)
+  _WRAP_METHOD(void set_throttle_time(guint64 throttle), gst_base_sink_set_throttle_time)
 
   /** Gets the sink Gst::Pad object of the element.
    */
diff --git a/gstreamer/src/xoverlay.hg b/gstreamer/src/xoverlay.hg
index 64c2405..abd1e07 100644
--- a/gstreamer/src/xoverlay.hg
+++ b/gstreamer/src/xoverlay.hg
@@ -102,6 +102,8 @@ class XOverlay : public Glib::Interface
 public:
   _WRAP_METHOD(void set_xwindow_id(gulong xwindow_id), gst_x_overlay_set_xwindow_id)
   _WRAP_METHOD(void got_xwindow_id(gulong xwindow_id), gst_x_overlay_got_xwindow_id)
+  _WRAP_METHOD(void got_window_handle(guintptr xwindow_id), gst_x_overlay_got_window_handle)
+  _WRAP_METHOD(void set_window_handle(guintptr xwindow_handle), gst_x_overlay_set_window_handle)
   _WRAP_METHOD(void prepare_xwindow_id(), gst_x_overlay_prepare_xwindow_id)
   _WRAP_METHOD(void expose(), gst_x_overlay_expose)
   _WRAP_METHOD(void handle_events(bool handle_events), gst_x_overlay_handle_events)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]