It seems that, somewhere along the way, I forgot to make sure interfaces were binded...
authorEdward Hervey <bilboed@bilboed.com>
Sat, 23 Jul 2005 14:54:02 +0000 (14:54 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Sat, 23 Jul 2005 14:54:02 +0000 (14:54 +0000)
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/interfaces.defs:
* gst/interfaces.override:
* gst/xoverlay.override:
It seems that, somewhere along the way, I forgot to make sure interfaces
were binded too :)

ChangeLog
configure.ac
gst/Makefile.am
gst/interfaces.defs
gst/interfaces.override
gst/xoverlay.override

index 640b431..5f8fb83 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2005-07-23  Edward Hervey  <edward@fluendo.com>
+
+       * configure.ac:
+       * gst/Makefile.am:
+       * gst/interfaces.defs:
+       * gst/interfaces.override:
+       * gst/xoverlay.override:
+       It seems that, somewhere along the way, I forgot to make sure interfaces
+       were binded too :)
+
 2005-07-21  Edward Hervey  <edward@fluendo.com>
 
        * gst/gstmessage.override:
index e76d0d3..d081305 100644 (file)
@@ -80,7 +80,7 @@ AC_MSG_RESULT($PYGTK_CODEGEN)
 
 dnl Interfaces
 AC_MSG_CHECKING(for GStreamer interfaces include dir)
-PKG_CHECK_MODULES(GST_INTERFACES, gstreamer-interfaces-$GST_MAJORMINOR,
+PKG_CHECK_MODULES(GST_INTERFACES, gstreamer-plugins-base-$GST_MAJORMINOR,
                   HAVE_INTERFACES=yes,HAVE_INTERFACES=no)
 AM_CONDITIONAL(BUILD_INTERFACES, test "x$HAVE_INTERFACES" = "xyes")
 AC_SUBST(GST_INTERFACES_CFLAGS)
index 484370b..a26cb38 100644 (file)
@@ -54,7 +54,7 @@ gst.c: $(GST_DEFS) $(GST_OVERRIDES) $(GEN_FILES)
 
 # GStreamer interfaces bindings
 interfaces_la_CFLAGS = $(common_cflags) $(GST_INTERFACES_CFLAGS) 
-interfaces_la_LIBADD = $(common_libadd) $(GST_INTERFACES_LIBS)
+interfaces_la_LIBADD = $(common_libadd) $(GST_INTERFACES_LIBS) -lgstinterfaces-0.9 
 interfaces_la_LDFLAGS = $(common_ldflags) -export-symbols-regex initinterface
 interfaces_la_SOURCES = interfacesmodule.c
 nodist_interfaces_la_SOURCES = interfaces.c
index be36da0..45f9ef7 100644 (file)
   )
 )
 
+(define-method set_option
+  (of-object "GstMixer")
+  (c-name "gst_mixer_set_option")
+  (return-type "none")
+  (parameters
+    '("GstMixerOptions*" "opts")
+    '("gchar*" "value")
+  )
+)
+
+(define-method get_option
+  (of-object "GstMixer")
+  (c-name "gst_mixer_get_option")
+  (return-type "const-gchar*")
+  (parameters
+    '("GstMixerOptions*" "opts")
+  )
+)
+
 (define-method mute_toggled
   (of-object "GstMixer")
   (c-name "gst_mixer_mute_toggled")
index 524fb73..9be6874 100644 (file)
@@ -29,26 +29,11 @@ headers
 
 #include <gst/gst.h>
 
-/* XXX: Remove this macros in 0.9 */
-#include <gst/colorbalance/colorbalance.h>
-#undef  GST_COLOR_BALANCE
-#define GST_COLOR_BALANCE(obj)  (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_COLOR_BALANCE, GstColorBalance))
-
-#include <gst/navigation/navigation.h>
-#undef  GST_NAVIGATION
-#define GST_NAVIGATION(obj)     (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_NAVIGATION, GstNavigation))
-
-#include <gst/propertyprobe/propertyprobe.h>
-#undef  GST_PROPERTY_PROBE
-#define GST_PROPERTY_PROBE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_PROPERTY_PROBE, GstPropertyProbe))
-
-#include <gst/tuner/tuner.h>
-#undef  GST_TUNER
-#define GST_TUNER(obj)          (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_TUNER, GstTuner))
-
-#include <gst/mixer/mixer.h>
-#undef  GST_MIXER
-#define GST_MIXER(obj)          (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_MIXER, GstMixer))
+#include <gst/interfaces/colorbalance.h>
+#include <gst/interfaces/navigation.h>
+#include <gst/interfaces/propertyprobe.h>
+#include <gst/interfaces/tuner.h>
+#include <gst/interfaces/mixer.h>
 
 %%
 modulename gst.interfaces
index 377fc1b..dd382e7 100644 (file)
@@ -21,6 +21,4 @@
 %%
 headers
 
-#include <gst/xoverlay/xoverlay.h>
-#undef  GST_X_OVERLAY
-#define GST_X_OVERLAY(obj)      (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_X_OVERLAY, GstXOverlay))
+#include <gst/interfaces/xoverlay.h>