summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2003-11-05 03:24:53 +0000
committerBenjamin Otte <otte@gnome.org>2003-11-05 03:24:53 +0000
commitcd484eb01ae28d14400c26616132e9cc92919d64 (patch)
tree101cc452d1b9b54bd9282ee7d6936671ac1f1d9c
parent7b2f1fb94496086672f8e290e837b30abd591080 (diff)
downloadgst-plugins-bad-cd484eb01ae28d14400c26616132e9cc92919d64.tar.gz
gst-plugins-bad-cd484eb01ae28d14400c26616132e9cc92919d64.tar.bz2
gst-plugins-bad-cd484eb01ae28d14400c26616132e9cc92919d64.zip
add initial version of gdkpixbuf loader for gtk that is capable of loading AVI and mpeg videos as GdkPixbufAnimation....
Original commit message from CVS: add initial version of gdkpixbuf loader for gtk that is capable of loading AVI and mpeg videos as GdkPixbufAnimation. I'm not sure if such a thing would be useful or too much trouble, so I'll throw it at enough testers to figure it out ;) We might want to disable it by defualt though in the future. (Currently there is not even a configure switch implemented to disable it.) This includes a fix to not use GError in gstgdkpixbuf's typefind function and to only return GST_TYPE_FIND_MINIMUM when doing typefinding via gdk as this breaks quite a bit with the GStreamer loader installed.
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 30dcfc0a..ccdf32da 100644
--- a/configure.ac
+++ b/configure.ac
@@ -225,6 +225,11 @@ HAVE_GTK=NO
PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.2.0, HAVE_GTK_22=yes, HAVE_GTK_22=no)
if test "x$HAVE_GTK_22" = "xyes"; then
HAVE_GTK=yes
+ AC_PATH_PROG(QUERYLOADERS, gdk-pixbuf-query-loaders, no)
+ GTK_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0`
+ AC_SUBST(GTK_VERSION)
+ GTK_BASE_DIR=`echo "$QUERYLOADERS" | sed "s/bin\/gdk-pixbuf-query-loaders\$//"`
+ AC_SUBST(GTK_BASE_DIR)
else
PKG_CHECK_MODULES(GTK2, gtk+-2.0, HAVE_GTK_20=yes, HAVE_GTK_20=no)
fi
@@ -236,6 +241,7 @@ GTK_LIBS=$GTK2_LIBS
AC_SUBST(GTK_LIBS)
AC_SUBST(GTK_CFLAGS)
AC_SUBST(HAVE_GTK)
+AM_CONDITIONAL(HAVE_GDK_LOADERS, test "x$HAVE_GTK_22" = "xyes")
dnl Check for X11 extensions