From 38a07c53860caa0d3acbbdd2346a34e1bf1334ca Mon Sep 17 00:00:00 2001 From: "Zhao, Halley" Date: Mon, 24 Mar 2014 16:09:40 +0800 Subject: [PATCH] omxvp8dec: use VP8 definition from OMX_VideoExt.h https://bugzilla.gnome.org/show_bug.cgi?id=726957 --- configure.ac | 3 ++- omx/gstomxvp8dec.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 624bbaf..21acb75 100644 --- a/configure.ac +++ b/configure.ac @@ -176,7 +176,8 @@ AC_CHECK_DECLS([OMX_VIDEO_CodingVP8], HAVE_VP8=yes ], [ HAVE_VP8=no - ], [[#include ]]) + ], [[#include + #include ]]) AM_CONDITIONAL(HAVE_VP8, test "x$HAVE_VP8" = "xyes") AC_CHECK_DECLS([OMX_VIDEO_CodingTheora], diff --git a/omx/gstomxvp8dec.h b/omx/gstomxvp8dec.h index f99f4ce..5648ba3 100644 --- a/omx/gstomxvp8dec.h +++ b/omx/gstomxvp8dec.h @@ -23,6 +23,7 @@ #include #include "gstomxvideodec.h" +#include G_BEGIN_DECLS -- 2.7.4