[gstreamermm] removed non-existing methods



commit b68476210ad1b147fede2a45349915d22c573e29
Author: Marcin Kolny <marcin kolny gmail com>
Date:   Tue Dec 10 01:47:13 2013 +0100

    removed non-existing methods

 gstreamer/src/basetransform.hg    |    2 -
 gstreamer/src/buffer.hg           |    9 +-----
 gstreamer/src/caps.hg             |    6 +---
 gstreamer/src/element.hg          |   19 -------------
 gstreamer/src/elementfactory.hg   |    2 -
 gstreamer/src/enums.hg            |    1 -
 gstreamer/src/object.hg           |    5 ---
 gstreamer/src/pad.hg              |   55 +++++--------------------------------
 gstreamer/src/pipeline.hg         |    5 +---
 gstreamer/src/plugin.hg           |    3 --
 gstreamer/src/pluginfeature.hg    |    3 --
 gstreamer/src/query.hg            |    8 -----
 gstreamer/src/segment.hg          |   17 +-----------
 gstreamer/src/task.hg             |    1 -
 tools/m4/convert_gst.m4           |    4 ++-
 tools/m4/plugingen_gstreamermm.m4 |    4 +-
 16 files changed, 17 insertions(+), 127 deletions(-)
---
diff --git a/gstreamer/src/basetransform.hg b/gstreamer/src/basetransform.hg
index 3ef832b..334f998 100644
--- a/gstreamer/src/basetransform.hg
+++ b/gstreamer/src/basetransform.hg
@@ -148,8 +148,6 @@ public:
   _WRAP_METHOD(void set_qos_enabled(bool enabled), gst_base_transform_set_qos_enabled)
   _WRAP_METHOD(void update_qos(double proportion, ClockTimeDiff diff, ClockTime timestamp), 
gst_base_transform_update_qos)
   _WRAP_METHOD(void set_gap_aware(bool gap_aware), gst_base_transform_set_gap_aware)
-  _WRAP_METHOD(void suggest(const Glib::RefPtr<Gst::Caps>& caps, guint size), gst_base_transform_suggest)
-  _WRAP_METHOD(void reconfigure(), gst_base_transform_reconfigure)
 
   /** Gives the refptr to the sink Gst::Pad object of the element.
    */
diff --git a/gstreamer/src/buffer.hg b/gstreamer/src/buffer.hg
index 5074e5f..2fbe5a5 100644
--- a/gstreamer/src/buffer.hg
+++ b/gstreamer/src/buffer.hg
@@ -28,7 +28,7 @@ _DEFS(gstreamermm,gst)
 namespace Gst
 {
 
-_WRAP_ENUM(BufferFlag, GstBufferFlag)
+_WRAP_ENUM(BufferFlags, GstBufferFlags)
 _WRAP_ENUM(BufferCopyFlags, GstBufferCopyFlags)
 
 /** A data-passing buffer type, supporting sub-buffers.
@@ -56,7 +56,6 @@ public:
   Glib::RefPtr<Gst::Buffer> copy() const;
 
   _WRAP_METHOD(void copy_into(Glib::RefPtr<Gst::Buffer> source_buffer, BufferCopyFlags flags, gsize offset, 
gsize size), gst_buffer_copy_into)
-  _WRAP_METHOD(bool is_metadata_writable() const, gst_buffer_is_metadata_writable)
 
   static Glib::RefPtr<Gst::Buffer> create(guint size);
 
@@ -67,12 +66,6 @@ public:
    */
   Glib::RefPtr<Gst::Buffer> create_writable();
 
-  //This is const because it always returns a new buffer:
-  _WRAP_METHOD(Glib::RefPtr<Gst::Buffer> make_metadata_writable() const, gst_buffer_make_metadata_writable)
-
-  //This is const because it always returns a new buffer:
-  _WRAP_METHOD(Glib::RefPtr<Gst::Buffer> merge(const Glib::RefPtr<const Gst::Buffer>& other_buffer) const, 
gst_buffer_merge)
-
   _WRAP_METHOD(Glib::RefPtr<Gst::Memory> get_memory(guint idx) const, gst_buffer_get_memory)
 
   _WRAP_METHOD(gsize get_size   () const, gst_buffer_get_size)
diff --git a/gstreamer/src/caps.hg b/gstreamer/src/caps.hg
index 32b328b..f219fe4 100644
--- a/gstreamer/src/caps.hg
+++ b/gstreamer/src/caps.hg
@@ -187,12 +187,10 @@ public:
   _WRAP_METHOD(Glib::RefPtr<Gst::Caps> get_intersect(const Glib::RefPtr<const Gst::Caps>& other_caps, 
CapsIntersectMode) const, gst_caps_intersect_full)
 
   //This is const (returns a non const) because it always creates a new instance:
-  _WRAP_METHOD(Glib::RefPtr<Gst::Caps> get_union(const Glib::RefPtr<const Gst::Caps>& other_caps) const, 
gst_caps_union)
-
-  //This is const (returns a non const) because it always creates a new instance:
   _WRAP_METHOD(Glib::RefPtr<Gst::Caps> get_normal() const, gst_caps_normalize)
 
-  _WRAP_METHOD(bool simplify(), gst_caps_do_simplify)
+  //This is const (returns a non const) because it always creates a new instance:
+  _WRAP_METHOD(Glib::RefPtr<Gst::Caps> simplify(), gst_caps_simplify)
 
   _WRAP_METHOD(Glib::ustring to_string() const, gst_caps_to_string)
 
diff --git a/gstreamer/src/element.hg b/gstreamer/src/element.hg
index 649b48a..48dcb72 100644
--- a/gstreamer/src/element.hg
+++ b/gstreamer/src/element.hg
@@ -122,13 +122,6 @@ Glib::ustring get_name(StateChangeReturn state_ret);
  * element with get_state() and set_state(). To get a string representation of
  * a State, use Gst::Enums::get_name().
  *
- * You can get and set a Clock on an element using get_clock() and set_clock().
- * Some elements can provide a clock for the pipeline if provides_clock()
- * returns true. With the provide_clock() method one can retrieve the clock
- * provided by such an element. Not all elements require a clock to operate
- * correctly. If requires_clock() returns true, a clock should be set on the
- * element with set_clock().
- *
  * Note that clock slection and distribution is normally handled by the
  * toplevel Gst::Pipeline so the clock functions are only to be used in very
  * specific situations.
@@ -238,17 +231,13 @@ public:
   _WRAP_METHOD(Glib::RefPtr<Gst::ElementFactory> get_factory(), gst_element_get_factory, refreturn)
   _WRAP_METHOD(Glib::RefPtr<const Gst::ElementFactory> get_factory() const, gst_element_get_factory, 
refreturn, constversion)
 
-  _WRAP_METHOD(bool is_indexable() const, gst_element_is_indexable)
-
   // We don't wrap the gst_element_get_name(), gst_element_set_name(), 
   // gst_element_get_parent(), and gst_element_set_parent() macros because they 
   // just calls the base (GstObject) class's functions anyway.
 
-  _WRAP_METHOD(bool requires_clock() const, gst_element_requires_clock)
   _WRAP_METHOD(bool set_clock(const Glib::RefPtr<Gst::Clock>& clock), gst_element_set_clock)
   _WRAP_METHOD(Glib::RefPtr<Gst::Clock> get_clock(), gst_element_get_clock)
   _WRAP_METHOD(Glib::RefPtr<const Gst::Clock> get_clock() const, gst_element_get_clock, constversion)
-  _WRAP_METHOD(bool provides_clock() const, gst_element_provides_clock)
   _WRAP_METHOD(Glib::RefPtr<Gst::Clock> provide_clock(), gst_element_provide_clock)
   _WRAP_METHOD(Glib::RefPtr<const Gst::Clock> provide_clock() const, gst_element_provide_clock, constversion)
   _WRAP_METHOD(StateChangeReturn set_state(State state), gst_element_set_state)
@@ -258,11 +247,8 @@ public:
   _WRAP_METHOD(void abort_state(), gst_element_abort_state)
   _WRAP_METHOD(StateChangeReturn continue_state(StateChangeReturn ret), gst_element_continue_state)
   _WRAP_METHOD(void lost_state(), gst_element_lost_state)
-  _WRAP_METHOD(void lost_state(bool new_base_time), gst_element_lost_state_full)
   _WRAP_METHOD(bool sync_state_with_parent(), gst_element_sync_state_with_parent)
   _WRAP_METHOD(StateChangeReturn change_state(StateChange transition), gst_element_change_state)
-  _WRAP_METHOD(void found_tags(Gst::TagList& list), gst_element_found_tags)
-  _WRAP_METHOD(void found_tags_for_pad(const Glib::RefPtr<Gst::Pad>& pad, Gst::TagList& list), 
gst_element_found_tags_for_pad)
 
   /** Post an error, warning or info message on the bus from inside an element.
    *
@@ -292,9 +278,6 @@ public:
 
   _WRAP_METHOD(bool post_message(const Glib::RefPtr<Gst::Message>& message), gst_element_post_message)
 
-#m4 _CONVERSION(`const 
GstQueryType*',`Glib::ArrayHandle<QueryType>',`Glib::ArrayHandle<QueryType>((QueryType*)($3), 
Glib::OWNERSHIP_NONE)')
-  _WRAP_METHOD(Glib::ArrayHandle<QueryType> get_query_types() const, gst_element_get_query_types)
-
   _WRAP_METHOD(bool query(const Glib::RefPtr<Gst::Query>& query) const, gst_element_query)
   _WRAP_METHOD(bool query_convert(Gst::Format src_format, gint64 src_val, Format dest_format, gint64& 
dest_val) const, gst_element_query_convert)
   _WRAP_METHOD(bool query_position(Gst::Format format, gint64& cur) const, gst_element_query_position)
@@ -332,8 +315,6 @@ public:
   bool send_event(const Glib::RefPtr<Gst::Event>& event);
   _IGNORE(gst_element_send_event)
 
-  _WRAP_METHOD(bool implements_interface(GType iface_type) const, gst_element_implements_interface)
-
   _WRAP_SIGNAL(void no_more_pads(), "no-more-pads")
 
 #m4 _CONVERSION(`GstPad*',`const Glib::RefPtr<Gst::Pad>&',`Glib::wrap($3, true)')
diff --git a/gstreamer/src/elementfactory.hg b/gstreamer/src/elementfactory.hg
index 5df4b92..f73a675 100644
--- a/gstreamer/src/elementfactory.hg
+++ b/gstreamer/src/elementfactory.hg
@@ -139,8 +139,6 @@ public:
   _WRAP_METHOD(URIType get_uri_type() const, gst_element_factory_get_uri_type)
 
   _WRAP_METHOD(bool has_interface(const Glib::ustring& name) const, gst_element_factory_has_interface)
-  _WRAP_METHOD(bool can_sink_caps(const Glib::RefPtr<const Gst::Caps>& caps) const, 
gst_element_factory_can_sink_caps)
-  _WRAP_METHOD(bool can_src_caps(const Glib::RefPtr<const Gst::Caps>& caps) const, 
gst_element_factory_can_src_caps)
 
 #m4 _CONVERSION(`const GList*', `std::vector< Gst::StaticPadTemplate >', `Glib::ListHandler< 
Gst::StaticPadTemplate, StaticPadTemplateTraits >::list_to_vector(const_cast<GList*>($3), 
Glib::OWNERSHIP_NONE)')
   _WRAP_METHOD(std::vector< Gst::StaticPadTemplate > get_static_pad_templates() const, 
gst_element_factory_get_static_pad_templates)
diff --git a/gstreamer/src/enums.hg b/gstreamer/src/enums.hg
index e66bdb0..782dd3c 100644
--- a/gstreamer/src/enums.hg
+++ b/gstreamer/src/enums.hg
@@ -39,6 +39,5 @@ _WRAP_ENUM(State, GstState)
 // Plug-in non-genereated enums.  Handled manually and not generated because
 // they are shared by more than one plug-in:
 _WRAP_ENUM(AutoplugSelectResult, GstAutoplugSelectResult)
-_WRAP_ENUM(TCPProtocol, GstTCPProtocol)
 
 } //namespace Gst
diff --git a/gstreamer/src/object.hg b/gstreamer/src/object.hg
index a40376e..19a8d0c 100644
--- a/gstreamer/src/object.hg
+++ b/gstreamer/src/object.hg
@@ -74,8 +74,6 @@ public:
   _WRAP_METHOD(Glib::RefPtr<Gst::Object> get_parent(), gst_object_get_parent)
   _WRAP_METHOD(Glib::RefPtr<const Gst::Object> get_parent() const, gst_object_get_parent, constversion)
   _WRAP_METHOD(void unparent(), gst_object_unparent)
-  _WRAP_METHOD(Glib::ustring get_name_prefix() const, gst_object_get_name_prefix)
-  _WRAP_METHOD(void set_name_prefix(const Glib::ustring& name_prefix), gst_object_set_name_prefix)
 
   // Ignore default signal and error callback.
   _IGNORE(gst_object_default_deep_notify, gst_object_default_error)
@@ -95,9 +93,6 @@ public:
 
 #m4 _CONVERSION(`GstObject*', `const Glib::RefPtr<Object>&', `Glib::wrap($3, true)')
 #m4 _CONVERSION(`const Glib::RefPtr<Object>&', `GstObject*', `Glib::unwrap($3)')
-
-  _WRAP_SIGNAL(void parent_set(const Glib::RefPtr<Object>& parent), "parent-set")
-  _WRAP_SIGNAL(void parent_unset(const Glib::RefPtr<Object>& parent), "parent-unset")
 };
 
 } // namespace Gst
diff --git a/gstreamer/src/pad.hg b/gstreamer/src/pad.hg
index 5b90c16..60be2b1 100644
--- a/gstreamer/src/pad.hg
+++ b/gstreamer/src/pad.hg
@@ -42,7 +42,7 @@ class PadProbeInfo;
 template <class CppType>
 class Iterator;
 
-_WRAP_ENUM(ActivateMode, GstActivateMode)
+_WRAP_ENUM(PadMode, GstPadMode)
 _WRAP_ENUM(FlowReturn, GstFlowReturn)
 _WRAP_ENUM(PadDirection, GstPadDirection)
 _WRAP_ENUM(PadFlags, GstPadFlags)
@@ -62,11 +62,6 @@ _WRAP_ENUM(PadProbeReturn, GstPadProbeReturn)
  * Pads are typically created from a Gst::PadTemplate with the create() method
  * that takes a Gst::PadTemplate.
  *
- * Pads have Gst::Caps attached to it to describe the media type they are
- * capable of dealing with. get_caps() and set_caps() are used to manipulate
- * the caps of the pads. Pads created from a pad template cannot set
- * capabilities that are incompatible with the pad template capabilities.
- *
  * Pads without pad templates can be created with create(), which takes a
  * direction and a name as an argument.
  *
@@ -173,14 +168,8 @@ public:
   _WRAP_METHOD(bool is_linked() const, gst_pad_is_linked)
   _WRAP_METHOD(bool can_link(const Glib::RefPtr<const Gst::Pad>& other_pad) const, gst_pad_can_link)
 
-  _WRAP_METHOD(Glib::RefPtr<Gst::Caps> get_caps(), gst_pad_get_caps)
-  _WRAP_METHOD(Glib::RefPtr<const Gst::Caps> get_caps() const, gst_pad_get_caps, constversion)
-  _IGNORE(gst_pad_get_caps_reffed)
-
   _WRAP_METHOD(Glib::RefPtr<Gst::Caps> get_allowed_caps(), gst_pad_get_allowed_caps)
   _WRAP_METHOD(Glib::RefPtr<const Gst::Caps> get_allowed_caps() const, gst_pad_get_allowed_caps, 
constversion)
-  _WRAP_METHOD(Glib::RefPtr<Gst::Caps> get_negotiated_caps(), gst_pad_get_negotiated_caps)
-  _WRAP_METHOD(Glib::RefPtr<const Gst::Caps> get_negotiated_caps() const, gst_pad_get_negotiated_caps, 
constversion)
 
   //The documentation gst_pad_get_pad_template_caps() suggests that there shouldn't be a non-const return:
   /** Gets the capabilities for pad's template.
@@ -194,27 +183,16 @@ public:
   _WRAP_METHOD(void remove_probe(gulong id), gst_pad_remove_probe)
 
 
-  _WRAP_METHOD(bool set_caps(const Glib::RefPtr<Gst::Caps>& caps), gst_pad_set_caps)
   _WRAP_METHOD(Glib::RefPtr<Gst::Pad> get_peer(), gst_pad_get_peer)
   _WRAP_METHOD(Glib::RefPtr<const Gst::Pad> get_peer() const, gst_pad_get_peer, constversion)
 
-  _WRAP_METHOD(Glib::RefPtr<Gst::Caps> peer_get_caps(), gst_pad_peer_get_caps)
-  _WRAP_METHOD(Glib::RefPtr<const Gst::Caps> peer_get_caps() const, gst_pad_peer_get_caps, constversion)
-  _IGNORE(gst_pad_peer_get_caps_reffed)
-
   _WRAP_METHOD(void use_fixed_caps(), gst_pad_use_fixed_caps)
   _WRAP_METHOD(bool is_active() const, gst_pad_is_active)
-  _WRAP_METHOD(bool set_blocked(bool blocked = true), gst_pad_set_blocked)
 
 
   _WRAP_METHOD(bool is_blocked() const, gst_pad_is_blocked)
   _WRAP_METHOD(bool is_blocking() const, gst_pad_is_blocking)
 
-
-  _WRAP_METHOD(void remove_data_probe(guint handler_id), gst_pad_remove_data_probe)
-  _WRAP_METHOD(void remove_buffer_probe(guint handler_id), gst_pad_remove_buffer_probe)
-  _WRAP_METHOD(void remove_event_probe(guint handler_id), gst_pad_remove_event_probe)
-
   //This is handwritten because conversion from Glib::RefPtr<Gst::Buffer>& to
   //GstBuffer** is difficult.
   /** When pad is flushing this function returns Gst::FLOW_WRONG_STATE
@@ -234,12 +212,10 @@ public:
   FlowReturn get_range(guint64 offset, guint size, Glib::RefPtr<Gst::Buffer>& buffer);
   _IGNORE(gst_pad_get_range)
 
-  _WRAP_METHOD(bool accept_caps(const Glib::RefPtr<const Gst::Caps>& caps) const, gst_pad_accept_caps)
-  _WRAP_METHOD(Glib::RefPtr<Gst::Caps> proxy_getcaps(), gst_pad_proxy_getcaps)
-  _WRAP_METHOD(Glib::RefPtr<const Gst::Caps> proxy_getcaps() const, gst_pad_proxy_getcaps, constversion)
-  _WRAP_METHOD(bool proxy_setcaps(const Glib::RefPtr<Gst::Caps>& caps), gst_pad_proxy_setcaps)
-  _WRAP_METHOD(void fixate_caps(const Glib::RefPtr<Gst::Caps>& caps), gst_pad_fixate_caps)
-  _WRAP_METHOD(bool peer_accept_caps(const Glib::RefPtr<const Gst::Caps>& caps) const, 
gst_pad_peer_accept_caps)
+  _WRAP_METHOD(bool query_accept_caps(const Glib::RefPtr<const Gst::Caps>& caps) const, 
gst_pad_query_accept_caps)
+  _WRAP_METHOD(bool proxy_query_caps(Glib::RefPtr<Gst::Query> query), gst_pad_proxy_query_caps)
+  _WRAP_METHOD(Glib::RefPtr<const Gst::Caps> proxy_query_caps() const, gst_pad_proxy_query_caps, 
constversion)
+  _WRAP_METHOD(bool peer_query_accept_caps(const Glib::RefPtr<const Gst::Caps>& caps) const, 
gst_pad_peer_query_accept_caps)
 
   // This method is written manually because an extra ref is necessary
   /** Pushes a buffer to the peer of the pad. The pad must be a source pad,
@@ -274,8 +250,6 @@ public:
   bool push_event(const Glib::RefPtr<Gst::Event>& event);
   _IGNORE(gst_pad_push_event)
 
-  _WRAP_METHOD(bool check_pull_range() const, gst_pad_check_pull_range)
-
   /** Pulls a buffer from the peer pad.  This function will first trigger the
    * pad block signal if it was installed.  This method works only on sink
    * pads.
@@ -299,8 +273,7 @@ public:
   FlowReturn pull_range(guint64 offset, guint size, Glib::RefPtr<Gst::Buffer>& buffer);
   _IGNORE(gst_pad_pull_range)
 
-  _WRAP_METHOD(bool activate_pull(bool active = true), gst_pad_activate_pull)
-  _WRAP_METHOD(bool activate_push(bool active = true), gst_pad_activate_push)
+  _WRAP_METHOD(bool activate_mode(Gst::PadMode mode, bool active = true), gst_pad_activate_mode)
 
   // This method is written manually because an extra ref is necessary
   /** Sends the event to the pad. This function can be used by applications to
@@ -354,26 +327,13 @@ public:
   _WRAP_METHOD(bool query_convert(Format src_format, gint64 src_value, Format dst_format, gint64& dst_value) 
const, gst_pad_query_convert)
 
 
-   _WRAP_METHOD(bool query_peer_convert(Format src_format, gint64 src_value, Format& dst_format, gint64& 
dst_value) const, gst_pad_query_peer_convert)
-
-#m4 _CONVERSION(`const 
GstQueryType*',`Glib::ArrayHandle<QueryType>',`Glib::ArrayHandle<QueryType>((QueryType*)($3), 
Glib::OWNERSHIP_NONE)')
-  _WRAP_METHOD(Glib::ArrayHandle<QueryType> get_query_types() const, gst_pad_get_query_types)
-  _WRAP_METHOD(Glib::ArrayHandle<QueryType> get_query_types_default() const, gst_pad_get_query_types_default)
+   _WRAP_METHOD(bool peer_query_convert(Format src_format, gint64 src_value, Format dst_format, gint64& 
dst_value) const, gst_pad_peer_query_convert)
 
   _WRAP_METHOD(Gst::Iterator<Gst::Pad> iterate_internal_links(), gst_pad_iterate_internal_links)
   _WRAP_METHOD(Gst::Iterator<const Gst::Pad> iterate_internal_links() const, gst_pad_iterate_internal_links)
   _WRAP_METHOD(Gst::Iterator<Gst::Pad> iterate_internal_links_default(const Glib::RefPtr<Gst::Object>& 
parent{?}), gst_pad_iterate_internal_links_default)
   _WRAP_METHOD(Gst::Iterator<const Gst::Pad> iterate_internal_links_default(const Glib::RefPtr<Gst::Object>& 
parent{?}) const, gst_pad_iterate_internal_links_default)
 
-#m4 _CONVERSION(`GList*', `Glib::ListHandle< Glib::RefPtr<Gst::Pad> >', `$2($3, Glib::OWNERSHIP_SHALLOW)')
-  _WRAP_METHOD(Glib::ListHandle< Glib::RefPtr<Gst::Pad> > get_internal_links(), gst_pad_get_internal_links)
-
-#m4 _CONVERSION(`GList*', `Glib::ListHandle< Glib::RefPtr<const Gst::Pad> >', `$2($3, 
Glib::OWNERSHIP_SHALLOW)')
-  _WRAP_METHOD(Glib::ListHandle< Glib::RefPtr<const Gst::Pad> > get_internal_links() const, 
gst_pad_get_internal_links)
-
-  _WRAP_METHOD(Glib::ListHandle< Glib::RefPtr<Gst::Pad> > get_internal_links_default(), 
gst_pad_get_internal_links_default)
-  _WRAP_METHOD(Glib::ListHandle< Glib::RefPtr<const Gst::Pad> > get_internal_links_default() const, 
gst_pad_get_internal_links_default)
-
   // This method is written manually because an extra ref is necessary
   FlowReturn chain(Glib::RefPtr<Gst::Buffer>& buffer);
   _IGNORE(gst_pad_chain)
@@ -424,7 +384,6 @@ public:
 
   _WRAP_SIGNAL(void linked(const Glib::RefPtr<Gst::Pad>& peer_pad), "linked")
 
-  _WRAP_SIGNAL(void request_link(), "request-link")
   _WRAP_SIGNAL(void unlinked(const Glib::RefPtr<Gst::Pad>& peer_pad), "unlinked")
 
   _WRAP_PROPERTY("caps", Glib::RefPtr<Gst::Caps>)
diff --git a/gstreamer/src/pipeline.hg b/gstreamer/src/pipeline.hg
index 2595c3c..f31ee75 100644
--- a/gstreamer/src/pipeline.hg
+++ b/gstreamer/src/pipeline.hg
@@ -67,8 +67,7 @@ class Bus;
  * When the pipeline goes to READY or a flushing seek is performed on it, the
  * stream time is reset to 0. When the pipeline is set from PLAYING to PAUSED,
  * the current clock time is sampled and used to configure the base time for
- * the elements when the pipeline is set to PLAYING again. This default
- * behaviour can be changed with the set_new_stream_time() method.
+ * the elements when the pipeline is set to PLAYING again.
  *
  * When sending a flushing seek event to a Gst::Pipeline (see
  * Gst::Element::seek()), it will make sure that the pipeline is properly
@@ -106,8 +105,6 @@ public:
   _WRAP_METHOD(Glib::RefPtr<const Gst::Clock> get_clock() const, gst_pipeline_get_clock, constversion)
   _WRAP_METHOD(void use_clock(const Glib::RefPtr<Gst::Clock>& clock), gst_pipeline_use_clock)
   _WRAP_METHOD(void auto_clock(), gst_pipeline_auto_clock)
-  _WRAP_METHOD(void set_new_stream_time(ClockTime time), gst_pipeline_set_new_stream_time)
-  _WRAP_METHOD(ClockTime get_last_stream_time() const, gst_pipeline_get_last_stream_time)
   _WRAP_METHOD(void set_auto_flush_bus(gboolean auto_flush = true), gst_pipeline_set_auto_flush_bus)
   _WRAP_METHOD(bool get_auto_flush_bus() const, gst_pipeline_get_auto_flush_bus)
   _WRAP_METHOD(void set_delay(ClockTime delay), gst_pipeline_set_delay)
diff --git a/gstreamer/src/plugin.hg b/gstreamer/src/plugin.hg
index cfc4742..eb62647 100644
--- a/gstreamer/src/plugin.hg
+++ b/gstreamer/src/plugin.hg
@@ -90,9 +90,6 @@ public:
   _WRAP_METHOD(Glib::ustring get_version() const, gst_plugin_get_version)
   _WRAP_METHOD(Glib::ustring get_release_date_string() const, gst_plugin_get_release_date_string)
 
-  //TODO: Use Glib::Module instead of GModule if possible:
-  _WRAP_METHOD(GModule* get_module(), gst_plugin_get_module)
-  _WRAP_METHOD(const GModule* get_module() const, gst_plugin_get_module, constversion)
   _WRAP_METHOD(bool is_loaded() const, gst_plugin_is_loaded)
 
 // A copy is taken so that the original is not freed by the wrapper.
diff --git a/gstreamer/src/pluginfeature.hg b/gstreamer/src/pluginfeature.hg
index ce219cf..3da6b74 100644
--- a/gstreamer/src/pluginfeature.hg
+++ b/gstreamer/src/pluginfeature.hg
@@ -44,12 +44,9 @@ public:
   typedef sigc::slot< bool, const Glib::RefPtr<Gst::PluginFeature>& > SlotFilter;
 
   _WRAP_METHOD(void set_rank(guint rank), gst_plugin_feature_set_rank)
-  _WRAP_METHOD(void set_name(const Glib::ustring& name), gst_plugin_feature_set_name)
   _WRAP_METHOD(guint get_rank() const, gst_plugin_feature_get_rank)
-  _WRAP_METHOD(Glib::ustring get_name() const, gst_plugin_feature_get_name)
   _WRAP_METHOD(Glib::RefPtr<Gst::PluginFeature> load(), gst_plugin_feature_load)
   _WRAP_METHOD(Glib::RefPtr<Gst::Plugin> get_plugin() const, gst_plugin_feature_get_plugin)
-  _WRAP_METHOD(Glib::ustring get_plugin_name() const, gst_plugin_feature_get_plugin_name)
 
   // Don't wrap gst_plugin_feature_list_free because Glib::ListHandle<> handles
   // list freeing already.
diff --git a/gstreamer/src/query.hg b/gstreamer/src/query.hg
index b2bf162..71e1979 100644
--- a/gstreamer/src/query.hg
+++ b/gstreamer/src/query.hg
@@ -120,8 +120,6 @@ public:
 
   _WRAP_METHOD(static Glib::RefPtr<Gst::Query> create_drain(), gst_query_new_drain)
 
-  _WRAP_METHOD(static Glib::RefPtr<Gst::Query> create_context(), gst_query_new_context)
-
   _WRAP_METHOD(static Glib::RefPtr<Gst::Query> create_custom(Gst::QueryType type, 
Glib::RefPtr<Gst::Structure> structure), gst_query_new_custom)
 
   _WRAP_METHOD(static Glib::RefPtr<Gst::Query> create_convert(Gst::Format format, gint64 value, Gst::Format 
dest_format), gst_query_new_convert)
@@ -146,12 +144,6 @@ public:
    */
   _MEMBER_GET(query_type, type, QueryType, GstQueryType)
 
-  _WRAP_METHOD(static QueryType register_query_type(const Glib::ustring& nick, const Glib::ustring& 
description), gst_query_type_register)
-  _WRAP_METHOD(static QueryType get_query_type(const Glib::ustring& nick), gst_query_type_get_by_nick)
-
-#m4 _CONVERSION(`const Glib::ArrayHandle<const QueryType>&',`GstQueryType*',`(GstQueryType*)(($3).data())')
-  _WRAP_METHOD(static bool query_types_contain(const Glib::ArrayHandle<const QueryType>& types, QueryType 
type), gst_query_types_contains)
-
   _WRAP_METHOD(void set_caps_result(Glib::RefPtr<Gst::Caps> caps), gst_query_set_caps_result)
 
 protected:
diff --git a/gstreamer/src/segment.hg b/gstreamer/src/segment.hg
index 262d403..6463448 100644
--- a/gstreamer/src/segment.hg
+++ b/gstreamer/src/segment.hg
@@ -50,12 +50,6 @@ _WRAP_ENUM(SeekType, GstSeekType)
  * configured with a start value of 0 and a stop/duration of -1, which is
  * undefined. The default rate and applied_rate is 1.0.
  *
- * If the segment is used for managing seeks, the segment duration should be
- * set with set_duration(). The public duration field contains the duration of
- * the segment. When using the segment for seeking, the start and time members
- * should normally be left to their default 0 value. The stop position is left
- * to -1 unless explicitly configured to a different value after a seek event.
- *
  * The current position in the segment should be set with the set_last_stop().
  * The public last_stop field contains the last set stop position in the
  * segment.
@@ -66,11 +60,6 @@ _WRAP_ENUM(SeekType, GstSeekType)
  * position. If the cur_type was different from Gst::SEEK_TYPE_NONE, playback
  * continues from the last_stop position, possibly with updated flags or rate.
  *
- * For elements that want to use Gst::Segment to track the playback region, use
- * set_newsegment() to update the segment fields with the information from the
- * newsegment event. The clip() method can be used to check and clip the media
- * data to the segment boundaries.
- *
  * For elements that want to synchronize to the pipeline clock,
  * to_running_time() can be used to convert a timestamp to a value that can be
  * used to synchronize to the clock. This function takes into account all
@@ -90,11 +79,7 @@ class Segment
 public:
   _WRAP_METHOD(bool clip(Format format, guint64 start, guint64 stop, guint64& clip_start, guint64& 
clip_stop) const, gst_segment_clip)
   _WRAP_METHOD(void init(Format format), gst_segment_init)
-  _WRAP_METHOD(void set_duration(Format format, guint64 duration), gst_segment_set_duration)
-  _WRAP_METHOD(void set_last_stop(Format format, guint64 position), gst_segment_set_last_stop)
-  _WRAP_METHOD(void set_newsegment(bool update, double rate, Format format, guint64 start, guint64 stop, 
guint64 time), gst_segment_set_newsegment)
-  _WRAP_METHOD(void set_newsegment(bool update, double rate, double applied_rate, Format format, guint64 
start, guint64 stop, guint64 time), gst_segment_set_newsegment_full)
-  _WRAP_METHOD_DOCS_ONLY(gst_segment_set_seek)
+  _WRAP_METHOD_DOCS_ONLY(gst_segment_do_seek)
   void set_seek(double rate, Format format, SeekFlags flags, SeekType start_type, gint64 start, SeekType 
stop_type, gint64 stop, bool& update);
   _WRAP_METHOD(guint64 to_running_time(Format format, guint64 position) const, gst_segment_to_running_time)
   _WRAP_METHOD(guint64 to_stream_time(Format format, guint64 position) const, gst_segment_to_stream_time)
diff --git a/gstreamer/src/task.hg b/gstreamer/src/task.hg
index 07d573f..5fda29c 100644
--- a/gstreamer/src/task.hg
+++ b/gstreamer/src/task.hg
@@ -108,7 +108,6 @@ public:
   _WRAP_CREATE(const SlotTask& task_slot)
 
   _WRAP_METHOD(void set_lock(Glib::Threads::RecMutex& mutex), gst_task_set_lock)
-  _WRAP_METHOD(void set_priority(Glib::ThreadPriority priority), gst_task_set_priority)
   _WRAP_METHOD(void set_pool(const Glib::RefPtr<Gst::TaskPool>& pool), gst_task_set_pool)
   _WRAP_METHOD(Glib::RefPtr<Gst::TaskPool> get_pool(), gst_task_get_pool)
   _WRAP_METHOD(Glib::RefPtr<const Gst::TaskPool> get_pool() const, gst_task_get_pool)
diff --git a/tools/m4/convert_gst.m4 b/tools/m4/convert_gst.m4
index 1331120..7c2dec7 100644
--- a/tools/m4/convert_gst.m4
+++ b/tools/m4/convert_gst.m4
@@ -6,7 +6,7 @@ _CONV_ENUM(Gst,AutoplugSelectResult)
 _CONV_ENUM(Gst,AudioBaseSinkSlaveMethod)
 _CONV_ENUM(Gst,AudioBaseSrcSlaveMethod)
 _CONV_ENUM(Gst,BufferCopyFlags)
-_CONV_ENUM(Gst,BufferFlag)
+_CONV_ENUM(Gst,BufferFlags)
 _CONV_ENUM(Gst,AudioFormat)
 _CONV_ENUM(Gst,AudioFormatFlags)
 _CONV_ENUM(Gst,AudioRingBufferFormatType)
@@ -34,6 +34,7 @@ _CONV_ENUM(Gst,NavigationCommand)
 _CONV_ENUM(Gst,PadDirection)
 _CONV_ENUM(Gst,PadLinkCheck)
 _CONV_ENUM(Gst,PadLinkReturn)
+_CONV_ENUM(Gst,PadMode)
 _CONV_ENUM(Gst,PadPresence)
 _CONV_ENUM(Gst,PadProbeType)
 _CONV_ENUM(Gst,PluginDependencyFlags)
@@ -196,6 +197,7 @@ _CONVERSION(`const Glib::RefPtr<Gst::PluginFeature>&',`GstPluginFeature*',`Glib:
 
 dnl Query
 _CONVERSION(`const Glib::RefPtr<Gst::Query>&',`GstQuery*', `Glib::unwrap($3)')
+_CONVERSION(`Glib::RefPtr<Gst::Query>',`GstQuery*', `Glib::unwrap($3)')
 _CONVERSION(`GstQuery*', `Glib::RefPtr<Gst::Query>',`Glib::wrap($3)')
 
 dnl Registry
diff --git a/tools/m4/plugingen_gstreamermm.m4 b/tools/m4/plugingen_gstreamermm.m4
index 1db3914..d73fc04 100644
--- a/tools/m4/plugingen_gstreamermm.m4
+++ b/tools/m4/plugingen_gstreamermm.m4
@@ -45,11 +45,10 @@ _TRANSLATION(`GstVideoOverlay*',`Gst::VideoOverlay',`const Glib::RefPtr<Gst::Vid
 dnl Wrapped enums:
 dnl One should be included for each enum wrapped outside of plug-ins so that
 dnl the generator does not try to generate a _WRAP_ENUM() for it.
-_ENUM_IS_WRAPPED(GstActivateMode)
 _ENUM_IS_WRAPPED(GstAssocFlags)
 _ENUM_IS_WRAPPED(GstAutoplugSelectResult)
 _ENUM_IS_WRAPPED(GstBufferCopyFlags)
-_ENUM_IS_WRAPPED(GstBufferFlag)
+_ENUM_IS_WRAPPED(GstBufferFlags)
 _ENUM_IS_WRAPPED(GstBufferingMode)
 _ENUM_IS_WRAPPED(GstBusFlags)
 _ENUM_IS_WRAPPED(GstBusSyncReply)
@@ -73,6 +72,7 @@ _ENUM_IS_WRAPPED(GstMiniObjectFlags)
 _ENUM_IS_WRAPPED(GstPadDirection)
 _ENUM_IS_WRAPPED(GstPadFlags)
 _ENUM_IS_WRAPPED(GstPadLinkReturn)
+_ENUM_IS_WRAPPED(GstPadMode)
 _ENUM_IS_WRAPPED(GstPadPresence)
 _ENUM_IS_WRAPPED(GstPadTemplateFlags)
 _ENUM_IS_WRAPPED(GstQOSType)


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