summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLuca Galli <jimbo@debian.ciccio.org>2014-05-27 17:48:22 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-05-27 17:48:22 +0900
commite5974d21d42e1082c3bd769f570fcb6c62e44d84 (patch)
tree30c0955bfbd515c8ee376fcf617021f09c854e3e /configure.ac
parented93671f1a24777c8afd15d19e084c6851842c50 (diff)
downloadevas_generic_loaders-e5974d21d42e1082c3bd769f570fcb6c62e44d84.tar.gz
Trying to port evas_generic_loaders to gstreamer1.0
Summary: Resulting video files thumbnail are grey and glitched Reviewers: raster, cedric CC: cedric Differential Revision: https://phab.enlightenment.org/D819
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac19
1 files changed, 16 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index ee7f965..c7aaf50 100644
--- a/configure.ac
+++ b/configure.ac
@@ -147,9 +147,9 @@ if test "x$want_svg" = "xyes" ; then
else
have_svg=no
fi
-GST_REQS=0.10.13
-GSTPLUG_REQS=0.10.13
-GST_MAJORMINOR=0.10
+GST_REQS=1.0
+GSTPLUG_REQS=1.0
+GST_MAJORMINOR=1.0
AC_ARG_ENABLE([gstreamer],
[AC_HELP_STRING([--disable-gstreamer], [disable gstreamer support @<:@default==enabled@:>@])],
@@ -163,6 +163,19 @@ if test "x$want_gstreamer" = "xyes" ; then
],
[have_gst="yes"],
[have_gst="no"])
+ if test "x$have_gst" = "xno" ; then
+ GST_REQS=0.10.13
+ GSTPLUG_REQS=0.10.13
+ GST_MAJORMINOR=0.10
+ PKG_CHECK_MODULES([GSTREAMER],
+ [gstreamer-$GST_MAJORMINOR >= $GST_REQS
+ gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPLUG_REQS
+ ],
+ [have_gst="yes"
+ AC_DEFINE_UNQUOTED([USE_OLD_GST], [1], [using older gstreamer])
+ ],
+ [have_gst="no"])
+ fi
else
have_gst=no
fi