diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-05-24 11:04:02 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-06-01 11:19:46 +0200 |
commit | 637a12a028e45165d07ce250035f3cc19dd5a424 (patch) | |
tree | 81937964bee16a14f41923d1cc804f7ef623f5b0 | |
parent | 4c552be9d913d15003821abe375982fb9aedbb09 (diff) |
vp8: Add compatilibity defines to work with older versions of libvpx too
-rw-r--r-- | ext/vp8/gstvp8utils.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/vp8/gstvp8utils.h b/ext/vp8/gstvp8utils.h index 4c07127bb..68652ddb8 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 |