gnomemm r1425 - in gstreamermm/trunk: . gstreamer/src



Author: jaalburqu
Date: Wed Mar 26 22:48:23 2008
New Revision: 1425
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1425&view=rev

Log:
2008-03-26  Josà Alburquerque  <jaalburqu svn gnome org>

	* gstreamer/src/enums.hg:
	* gstreamer/src/gst_enums.defs: wrapped enum ClockFlags using
	_WRAP_ENUM() (by writing out the def) so that its Glib::Value<..>
	class is defined

Modified:
   gstreamermm/trunk/ChangeLog
   gstreamermm/trunk/gstreamer/src/enums.hg
   gstreamermm/trunk/gstreamer/src/gst_enums.defs

Modified: gstreamermm/trunk/gstreamer/src/enums.hg
==============================================================================
--- gstreamermm/trunk/gstreamer/src/enums.hg	(original)
+++ gstreamermm/trunk/gstreamer/src/enums.hg	Wed Mar 26 22:48:23 2008
@@ -38,19 +38,7 @@
 _WRAP_ENUM(BufferFlag, GstBufferFlag)
 _WRAP_ENUM(BusSyncReply, GstBusSyncReply)
 _WRAP_ENUM(ClockEntryType, GstClockEntryType)
-
-enum ClockFlags
-{
-  CLOCK_FLAG_CAN_DO_SINGLE_SYNC = GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC,
-  CLOCK_FLAG_CAN_DO_SINGLE_ASYNC = GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC,
-  CLOCK_FLAG_CAN_DO_PERIODIC_SYNC = GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC,
-  CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC = GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC,
-  CLOCK_FLAG_CAN_SET_RESOLUTION = GST_CLOCK_FLAG_CAN_SET_RESOLUTION,
-  CLOCK_FLAG_CAN_SET_MASTER = GST_CLOCK_FLAG_CAN_SET_MASTER,
-  /* padding */
-  CLOCK_FLAG_LAST = GST_CLOCK_FLAG_LAST 
-};
-
+_WRAP_ENUM(ClockFlags, GstClockFlags)
 _WRAP_ENUM(ClockReturn, GstClockReturn)
 
 enum EventType

Modified: gstreamermm/trunk/gstreamer/src/gst_enums.defs
==============================================================================
--- gstreamermm/trunk/gstreamer/src/gst_enums.defs	(original)
+++ gstreamermm/trunk/gstreamer/src/gst_enums.defs	Wed Mar 26 22:48:23 2008
@@ -4,6 +4,7 @@
 ;; BufferFlag
 ;; IndexFlags
 ;; MessageType
+;; ClockFlags
 
 ;; From /opt/usr-jhbuild/include/gstreamer-0.10/gst/gstbin.h
 
@@ -98,6 +99,13 @@
   (in-module "Gst")
   (c-name "GstClockFlags")
   (values
+    '("can-do-single-sync" "GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC" "GST_OBJECT_FLAG_LAST << 0")
+    '("can-do-single-async" "GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC" "GST_OBJECT_FLAG_LAST << 1")
+    '("can-do-periodic-sync" "GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC" "GST_OBJECT_FLAG_LAST << 2")
+    '("can-do-periodic-async" "GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC" "GST_OBJECT_FLAG_LAST << 3")
+    '("can-set-resolution" "GST_CLOCK_FLAG_CAN_SET_RESOLUTION" "GST_OBJECT_FLAG_LAST << 4")
+    '("can-set-master" "GST_CLOCK_FLAG_CAN_SET_MASTER" "GST_OBJECT_FLAG_LAST << 5")
+    '("last" "GST_CLOCK_FLAG_LAST" "GST_OBJECT_FLAG_LAST << 8")
   )
 )
 



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