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



Author: murrayc
Date: Tue Feb  5 16:15:13 2008
New Revision: 1319
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1319&view=rev

Log:
2008-02-05  Murray Cumming  <murrayc murrayc com>

* gstreamer/src/gst_enums.defs: MessageType: Change 0xFFFFFFFFFFFFFFFF 
to ~0 as it is in the C header, to avoid a error about it being too big 
for the type.
* gstreamer/src/gst_methods.defs: Removed EventType because enums.pl 
could not parse GstEventType properly.

We will have to make these changes every time we regenerate these files, 
unless we can fix enums.pl.

Modified:
   gstreamermm/trunk/ChangeLog
   gstreamermm/trunk/gstreamer/src/gst_enums.defs
   gstreamermm/trunk/gstreamer/src/gst_methods.defs

Modified: gstreamermm/trunk/gstreamer/src/gst_enums.defs
==============================================================================
--- gstreamermm/trunk/gstreamer/src/gst_enums.defs	(original)
+++ gstreamermm/trunk/gstreamer/src/gst_enums.defs	Tue Feb  5 16:15:13 2008
@@ -231,38 +231,6 @@
   )
 )
 
-(define-enum-extended EventType
-  (in-module "Gst")
-  (c-name "GstEventType")
-  (values
-    '("gst-event-unknown" "GST_EVENT_UNKNOWN" "#error")
-    '("0)" "0)" "1")
-    '("gst-event-flush-start" "GST_EVENT_FLUSH_START" "2")
-    '("flag(both))" "FLAG(BOTH))" "3")
-    '("gst-event-flush-stop" "GST_EVENT_FLUSH_STOP" "4")
-    '("gst-event-eos" "GST_EVENT_EOS" "6")
-    '("gst-event-newsegment" "GST_EVENT_NEWSEGMENT" "8")
-    '("gst-event-tag" "GST_EVENT_TAG" "10")
-    '("gst-event-buffersize" "GST_EVENT_BUFFERSIZE" "12")
-    '("gst-event-qos" "GST_EVENT_QOS" "14")
-    '("flag(upstream))" "FLAG(UPSTREAM))" "15")
-    '("gst-event-seek" "GST_EVENT_SEEK" "16")
-    '("flag(upstream))" "FLAG(UPSTREAM))" "17")
-    '("gst-event-navigation" "GST_EVENT_NAVIGATION" "18")
-    '("flag(upstream))" "FLAG(UPSTREAM))" "19")
-    '("gst-event-latency" "GST_EVENT_LATENCY" "20")
-    '("flag(upstream))" "FLAG(UPSTREAM))" "21")
-    '("gst-event-custom-upstream" "GST_EVENT_CUSTOM_UPSTREAM" "22")
-    '("flag(upstream))" "FLAG(UPSTREAM))" "23")
-    '("gst-event-custom-downstream" "GST_EVENT_CUSTOM_DOWNSTREAM" "24")
-    '("gst-event-custom-downstream-oob" "GST_EVENT_CUSTOM_DOWNSTREAM_OOB" "26")
-    '("flag(downstream))" "FLAG(DOWNSTREAM))" "27")
-    '("gst-event-custom-both" "GST_EVENT_CUSTOM_BOTH" "28")
-    '("gst-event-custom-both-oob" "GST_EVENT_CUSTOM_BOTH_OOB" "30")
-    '("flag(both))" "FLAG(BOTH))" "31")
-  )
-)
-
 (define-enum-extended SeekType
   (in-module "Gst")
   (c-name "GstSeekType")
@@ -455,7 +423,7 @@
     '("latency" "GST_MESSAGE_LATENCY" "1 << 19")
     '("async-start" "GST_MESSAGE_ASYNC_START" "1 << 20")
     '("async-done" "GST_MESSAGE_ASYNC_DONE" "1 << 21")
-    '("any" "GST_MESSAGE_ANY" "0xFFFFFFFFFFFFFFFF")
+    '("any" "GST_MESSAGE_ANY" "~0")
   )
 )
 

Modified: gstreamermm/trunk/gstreamer/src/gst_methods.defs
==============================================================================
--- gstreamermm/trunk/gstreamer/src/gst_methods.defs	(original)
+++ gstreamermm/trunk/gstreamer/src/gst_methods.defs	Tue Feb  5 16:15:13 2008
@@ -423,46 +423,6 @@
   )
 )
 
-(define-enum EventType
-  (in-module "Gst")
-  (c-name "GstEventType")
-  (gtype-id "GST_TYPE_EVENT_TYPE")
-  (values
-    '("gst-event-unknown" "GST_EVENT_UNKNOWN")
-    '("0)" "0)")
-    '("gst-event-flush-start" "GST_EVENT_FLUSH_START")
-    '("flag(both))" "FLAG(BOTH))")
-    '("gst-event-flush-stop" "GST_EVENT_FLUSH_STOP")
-    '("flag(both)" "FLAG(BOTH)")
-    '("gst-event-eos" "GST_EVENT_EOS")
-    '("flag(downstream)" "FLAG(DOWNSTREAM)")
-    '("gst-event-newsegment" "GST_EVENT_NEWSEGMENT")
-    '("flag(downstream)" "FLAG(DOWNSTREAM)")
-    '("gst-event-tag" "GST_EVENT_TAG")
-    '("flag(downstream)" "FLAG(DOWNSTREAM)")
-    '("gst-event-buffersize" "GST_EVENT_BUFFERSIZE")
-    '("flag(downstream)" "FLAG(DOWNSTREAM)")
-    '("gst-event-qos" "GST_EVENT_QOS")
-    '("flag(upstream))" "FLAG(UPSTREAM))")
-    '("gst-event-seek" "GST_EVENT_SEEK")
-    '("flag(upstream))" "FLAG(UPSTREAM))")
-    '("gst-event-navigation" "GST_EVENT_NAVIGATION")
-    '("flag(upstream))" "FLAG(UPSTREAM))")
-    '("gst-event-latency" "GST_EVENT_LATENCY")
-    '("flag(upstream))" "FLAG(UPSTREAM))")
-    '("gst-event-custom-upstream" "GST_EVENT_CUSTOM_UPSTREAM")
-    '("flag(upstream))" "FLAG(UPSTREAM))")
-    '("gst-event-custom-downstream" "GST_EVENT_CUSTOM_DOWNSTREAM")
-    '("flag(downstream)" "FLAG(DOWNSTREAM)")
-    '("gst-event-custom-downstream-oob" "GST_EVENT_CUSTOM_DOWNSTREAM_OOB")
-    '("flag(downstream))" "FLAG(DOWNSTREAM))")
-    '("gst-event-custom-both" "GST_EVENT_CUSTOM_BOTH")
-    '("flag(both)" "FLAG(BOTH)")
-    '("gst-event-custom-both-oob" "GST_EVENT_CUSTOM_BOTH_OOB")
-    '("flag(both))" "FLAG(BOTH))")
-  )
-)
-
 (define-enum SeekType
   (in-module "Gst")
   (c-name "GstSeekType")



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