AM_PROG_LIBTOOL
dnl *** required versions of GStreamer stuff ***
-GST_REQ=0.10.34
+GST_REQ=0.10.29
dnl *** autotools stuff ****
dnl *** checks for dependency libraries ***
dnl GLib is required
-AG_GST_GLIB_CHECK([2.24])
+AG_GST_GLIB_CHECK([2.16])
dnl checks for gstreamer
dnl uninstalled is selected preferentially -- see pkg-config(1)
AG_GST_CHECK_GST_BASE($GST_MAJORMINOR, [$GST_REQ], yes)
AG_GST_CHECK_GST_CONTROLLER($GST_MAJORMINOR, [$GST_REQ], yes)
AG_GST_CHECK_GST_CHECK($GST_MAJORMINOR, [$GST_REQ], no)
+AG_GST_CHECK_GST_PLUGINS_BASE($GST_MAJORMINOR, [$GST_REQ], yes)
AM_CONDITIONAL(HAVE_GST_CHECK, test "x$HAVE_GST_CHECK" = "xyes")
dnl Check for documentation xrefs
g_slice_free (GstOMXPort, port);
}
+#if GLIB_CHECK_VERSION(2,22,0)
g_ptr_array_unref (comp->ports);
+#else
+ g_ptr_array_free (comp->ports, TRUE);
+#endif
}
g_cond_free (comp->state_cond);
}
g_queue_clear (port->pending_buffers);
+#if GLIB_CHECK_VERSION(2,22,0)
g_ptr_array_unref (port->buffers);
+#else
+ g_ptr_array_free (port->buffers, TRUE);
+#endif
port->buffers = NULL;
done: