gnomemm r2088 - in gstreamermm/trunk: . gstreamer/src
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: gnomemm r2088 - in gstreamermm/trunk: . gstreamer/src
- Date: Wed, 11 Mar 2009 15:03:23 +0000 (UTC)
Author: murrayc
Date: Wed Mar 11 15:03:23 2009
New Revision: 2088
URL: http://svn.gnome.org/viewvc/gnomemm?rev=2088&view=rev
Log:
2009-03-11 Murray Cumming <murrayc murrayc com>
* gstreamer/src/bin.hg: Added a TODO about create_watch().
* gstreamer/src/bus.hg: Added recalculate_latency() and the
do_latency signal.
* gstreamer/src/event.hg: Added get/set_seqnum().
* gstreamer/src/message.hg: Added get/set_seqnum().
Modified:
gstreamermm/trunk/ChangeLog
gstreamermm/trunk/gstreamer/src/bin.hg
gstreamermm/trunk/gstreamer/src/bus.hg
gstreamermm/trunk/gstreamer/src/event.hg
gstreamermm/trunk/gstreamer/src/message.hg
Modified: gstreamermm/trunk/gstreamer/src/bin.hg
==============================================================================
--- gstreamermm/trunk/gstreamer/src/bin.hg (original)
+++ gstreamermm/trunk/gstreamer/src/bin.hg Wed Mar 11 15:03:23 2009
@@ -211,6 +211,8 @@
_WRAP_METHOD(Gst::Iterator<Gst::Element> iterate_by_interface(GType iface), gst_bin_iterate_all_by_interface)
_WRAP_METHOD(Gst::Iterator<const Gst::Element> iterate_by_interface(GType iface) const, gst_bin_iterate_all_by_interface)
+ _WRAP_METHOD(bool recalculate_latency(), gst_bin_recalculate_latency)
+
#m4 _CONVERSION(`GList*',`Glib::ListHandle< Glib::RefPtr<Gst::Element> >',`$2($3, Glib::OWNERSHIP_SHALLOW)')
/** Gets the bin's list of children.
*/
@@ -230,6 +232,9 @@
*/
_WRAP_SIGNAL(void element_removed(const Glib::RefPtr<Gst::Element>& element), "element-removed")
+ //TODO: The default signal handler is marked as private in the C header. Is that intendend?
+ _WRAP_SIGNAL(bool do_latency(), "do-latency")
+
_WRAP_PROPERTY("async-handling", bool)
/** Method to add an element to a bin.
Modified: gstreamermm/trunk/gstreamer/src/bus.hg
==============================================================================
--- gstreamermm/trunk/gstreamer/src/bus.hg (original)
+++ gstreamermm/trunk/gstreamer/src/bus.hg Wed Mar 11 15:03:23 2009
@@ -21,6 +21,7 @@
#include <gstreamermm/object.h>
#include <gstreamermm/clock.h>
#include <gstreamermm/message.h>
+//#include <glibmm/main.h> //For Glib::Source
_DEFS(gstreamermm,gst)
@@ -118,6 +119,10 @@
_WRAP_METHOD(Glib::RefPtr<Gst::Message> pop(ClockTime timeout, MessageType message_type), gst_bus_timed_pop_filtered)
_WRAP_METHOD(void set_flushing(bool flushing = true), gst_bus_set_flushing)
+//TODO Glib::Source has a strange cobject constructor.
+//#m4 _CONVERSION(`GSource*',`Glib::RefPtr<Glib::Source>', `Glib::wrap($3)')
+// _WRAP_METHOD(Glib::RefPtr<Glib::Source> create_watch(), gst_bus_create_watch)
+
/** Adds a bus watch to the default main context with the given priority.
* The slot is used to receive asynchronous messages in the main loop.
*
Modified: gstreamermm/trunk/gstreamer/src/event.hg
==============================================================================
--- gstreamermm/trunk/gstreamer/src/event.hg (original)
+++ gstreamermm/trunk/gstreamer/src/event.hg Wed Mar 11 15:03:23 2009
@@ -135,6 +135,9 @@
_WRAP_METHOD(const Gst::Structure get_structure() const, gst_event_get_structure)
_WRAP_METHOD(bool has_name(const Glib::ustring& name) const, gst_event_has_name)
+ _WRAP_METHOD(guint32 get_seqnum() const, gst_event_get_seqnum)
+ _WRAP_METHOD(void set_seqnum(guint32 seqnum), gst_event_set_seqnum)
+
/** Checks if an event is writable. If not, a writable copy is made and
* returned.
* @return A Gst::Event (possibly the same pointer) that is writable.
Modified: gstreamermm/trunk/gstreamer/src/message.hg
==============================================================================
--- gstreamermm/trunk/gstreamer/src/message.hg (original)
+++ gstreamermm/trunk/gstreamer/src/message.hg Wed Mar 11 15:03:23 2009
@@ -91,6 +91,9 @@
*/
Glib::RefPtr<Gst::Message> create_writable();
+ _WRAP_METHOD(guint32 get_seqnum() const, gst_message_get_seqnum)
+ _WRAP_METHOD(void set_seqnum(guint32 seqnum), gst_message_set_seqnum)
+
/** Get the GstMessageType of message.
*/
_MEMBER_GET(message_type, type, MessageType, GstMessageType)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]