summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2015-12-09 14:12:22 +0100
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2016-01-19 12:49:11 +0100
commit046c880d8aee6fc972ccc8374017bf8b3a2b8d70 (patch)
tree6a6875b1dbc9cb48c80ddcbf34b3be04a70c25f7
parente4ed64b7313fb8f5199b312852ecef2b3f238c15 (diff)
build: fix check for GstJpegParser
Right now the local JPEG parser is always compiled because the check for the upstreamed version is broken: it looks for an non existent symbol: GstJpegImage. This patch changes that check for< GstJpegFrameHdr. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e29ada93..861b5cfd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -367,7 +367,7 @@ AC_CACHE_CHECK([for JPEG parser],
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM(
[[#include <gst/codecparsers/gstjpegparser.h>]],
- [[GstJpegImage jpeg_image;]])],
+ [[GstJpegFrameHdr frame_hdr;]])],
[ac_cv_have_gst_jpeg_parser="yes"],
[ac_cv_have_gst_jpeg_parser="no"]
)