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