From 98fa9e7d5912d91cad541e31abf1074740b99e34 Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Tue, 26 Nov 2013 17:56:59 +0100 Subject: [PATCH] configure: disable encoders with GStreamer 0.10. Don't try to build video encoders for GStreamer 0.10. Support code is not there yet, and probably will never for such an ancient version. --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index e8fcb85886..d0bcb46a1e 100644 --- a/configure.ac +++ b/configure.ac @@ -722,6 +722,11 @@ if test "$enable_encoders" = "yes"; then ]) CPPFLAGS="$saved_CPPFLAGS" fi + + if test "$USE_GST_API_1_0p" != "yes"; then + AC_MSG_WARN([GStreamer API < 1.0, disabling encoders]) + USE_ENCODERS=0 + fi fi dnl VA/Wayland API