+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:
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)
# 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
)
)
+(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")
#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
%%
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>