From 4559f691a1285e415605c10e705ff58d131e4d5d Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Fri, 14 Jun 2013 11:39:54 +0200 Subject: [PATCH] configure: always build the MPEG-4 parser. Always build the MPEG-4 parser for now as there are also core fixes included in the parser that cannot be tested for with API checks. --- configure.ac | 3 ++- gst-libs/gst/codecparsers/Makefile.am | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index be45f77602..fca5cd9e2a 100644 --- a/configure.ac +++ b/configure.ac @@ -297,9 +297,10 @@ if test "$enable_builtin_codecparsers" = "yes"; then ac_cv_have_gst_mpeg2_parser="no" ac_cv_have_gst_h264_parser="no" ac_cv_have_gst_jpeg_parser="no" -fi +else PKG_CHECK_MODULES([GST_CODEC_PARSERS], [gstreamer-codecparsers-$GST_API_VERSION >= $GST_PLUGINS_BAD_VERSION_REQUIRED]) +fi dnl ... MPEG-2 parser, with the required extensions AC_CACHE_CHECK([for MPEG-2 parser], diff --git a/gst-libs/gst/codecparsers/Makefile.am b/gst-libs/gst/codecparsers/Makefile.am index a09a8fd4e1..c0581e3cbe 100644 --- a/gst-libs/gst/codecparsers/Makefile.am +++ b/gst-libs/gst/codecparsers/Makefile.am @@ -21,9 +21,9 @@ libgstvaapi_codecparsers_libs = \ gen_source_c = parserutils.c gen_source_h = parserutils.h -# Always build VC-1 parser for now -gen_source_c += gstvc1parser.c -gen_source_h += gstvc1parser.h +# Always build VC-1 and MPEG-4 parsers for now +gen_source_c += gstvc1parser.c gstmpeg4parser.c +gen_source_h += gstvc1parser.h gstmpeg4parser.h if USE_LOCAL_CODEC_PARSERS_JPEG gen_source_c += gstjpegparser.c