vpx: remove compatibility defines
authorAurélien Zanelli <aurelien.zanelli@darkosphere.fr>
Sat, 1 Nov 2014 11:18:02 +0000 (12:18 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 1 Nov 2014 15:40:44 +0000 (15:40 +0000)
We are guaranteed to have VPX_IMG_FMT_I420, VPX_PLANE_Y,
VPX_PLANE_U and VPX_PLANE_V as we require libvpx > 1.1.0.

https://bugzilla.gnome.org/show_bug.cgi?id=739476

ext/vpx/gstvp8utils.h

index df4e77e..ea45df1 100644 (file)
 
 G_BEGIN_DECLS
 
-/* Some compatibility defines for older libvpx versions */
-#ifndef VPX_IMG_FMT_I420
-#define VPX_IMG_FMT_I420 IMG_FMT_I420
-#endif
-
-#ifndef VPX_PLANE_Y
-#define VPX_PLANE_Y PLANE_Y
-#endif
-
-#ifndef VPX_PLANE_U
-#define VPX_PLANE_U PLANE_U
-#endif
-
-#ifndef VPX_PLANE_V
-#define VPX_PLANE_V PLANE_V
-#endif
-
 const char * gst_vpx_error_name (vpx_codec_err_t status);
 
 G_END_DECLS