From 637a12a028e45165d07ce250035f3cc19dd5a424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 24 May 2010 11:04:02 +0200 Subject: [PATCH] vp8: Add compatilibity defines to work with older versions of libvpx too --- ext/vp8/gstvp8utils.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ext/vp8/gstvp8utils.h b/ext/vp8/gstvp8utils.h index 4c07127bba..68652ddb87 100644 --- a/ext/vp8/gstvp8utils.h +++ b/ext/vp8/gstvp8utils.h @@ -25,6 +25,11 @@ G_BEGIN_DECLS +/* Some compatibility defines for older libvpx versions */ +#ifndef VPX_IMG_FMT_I420 +#define VPX_IMG_FMT_I420 IMG_FMT_I420 +#endif + const char * gst_vpx_error_name (vpx_codec_err_t status); G_END_DECLS