+2007-01-29 Edward Hervey <edward@fluendo.com>
+
+ * configure.ac:
+ Check for availability of video-orientation interface
+ * gst/gst.override:
+ don't forget to increment the refcount of Py_None before returning it.
+ * gst/interfaces.override:
+ If video-orientation interface isn't available, don't include the
+ header.
+
+2007-01-26 Edward Hervey <edward@fluendo.com>
+
+ * configure.ac:
+ 0.10.6.1 pre-release
+
2007-01-26 Edward Hervey <edward@fluendo.com>
* configure.ac:
dnl initialize autoconf
dnl when going to/from release please set the nano (fourth number) right !
dnl releases only do Wall, cvs and prerelease does Werror too
-AC_INIT(GStreamer Python Bindings, 0.10.6.1,
+AC_INIT(GStreamer Python Bindings, 0.10.6.2,
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer,
gst-python)
IGNORE_GST_PB_0_10_11="gst-pb-0.10.11.ignore"
else
IGNORE_GST_PB_0_10_11=""
+ AC_DEFINE_UNQUOTED(HAVE_VIDEO_ORIENTATION_INTERFACE, 1, [We can use the videoorientation interface])
fi
IGNORE_GST_0_10_11=""
IGNORE_GST_0_10_12=""
IGNORE_GST_PB_0_10_11=""
+ AC_DEFINE_UNQUOTED(HAVE_VIDEO_ORIENTATION_INTERFACE, 1, [We can use the videoorientation interface])
fi
AC_SUBST(IGNORE_GST_0_10_3)
AC_SUBST(IGNORE_GST_0_10_4)
AC_SUBST(IGNORE_GST_0_10_11)
AC_SUBST(IGNORE_GST_0_10_12)
AC_SUBST(IGNORE_GST_PB_0_10_11)
+AC_SUBST(HAVE_VIDEO_ORIENTATION)
dnl check for gstreamer-base; uninstalled is selected preferentially
PKG_CHECK_MODULES(GST_BASE, gstreamer-base-$GST_MAJORMINOR >= $GST_REQ,
gst_debug_log (python_debug, level, filename, function, lineno, object, "%s", str);
if (filename)
g_free(filename);
- Py_INCREF (Py_None);
#endif
+ Py_INCREF (Py_None);
return Py_None;
}
#include <gst/interfaces/propertyprobe.h>
#include <gst/interfaces/tuner.h>
#include <gst/interfaces/mixer.h>
+#ifdef HAVE_VIDEO_ORIENTATION_INTERFACE
#include <gst/interfaces/videoorientation.h>
+#endif
%%
modulename gst.interfaces