summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhao, Halley <halley.zhao@intel.com>2014-03-24 16:09:40 +0800
committerSebastian Dröge <sebastian@centricular.com>2014-06-24 10:21:07 +0200
commit38a07c53860caa0d3acbbdd2346a34e1bf1334ca (patch)
tree5f3b7a41a7170095498c35c59ce0c10b276f7db5
parent0b2f5791f04993bd2081cf04155a721a1bb4df8f (diff)
downloadgst-omx-38a07c53860caa0d3acbbdd2346a34e1bf1334ca.tar.gz
omxvp8dec: use VP8 definition from OMX_VideoExt.h
https://bugzilla.gnome.org/show_bug.cgi?id=726957
-rw-r--r--configure.ac3
-rw-r--r--omx/gstomxvp8dec.h1
2 files changed, 3 insertions, 1 deletions
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 <OMX_Video.h>]])
+ ], [[#include <OMX_Video.h>
+ #include <OMX_VideoExt.h>]])
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 <gst/gst.h>
#include "gstomxvideodec.h"
+#include <OMX_VideoExt.h>
G_BEGIN_DECLS