1 [PATCH] vp8: drop buggy libvpx legacy handling
3 Legacy handling for older libvpx versions were added back in 2010, but this
4 was unfortunately buggy as these symbols are enums and not defines - So they
5 are never defined and the legacy symbols always used.
7 Now that the legacy symbols are completely removed from libvpx from v1.4.0
8 onwards this breaks. Fix it by simply dropping the legacy handling, nobody
9 should be using libvpx versions from before 2010 (or gstreamer 0.10 for that
12 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
14 ext/vp8/gstvp8utils.h | 17 -----------------
15 1 file changed, 17 deletions(-)
17 Index: gst-plugins-bad-0.10.23/ext/vp8/gstvp8utils.h
18 ===================================================================
19 --- gst-plugins-bad-0.10.23.orig/ext/vp8/gstvp8utils.h
20 +++ gst-plugins-bad-0.10.23/ext/vp8/gstvp8utils.h
25 -/* Some compatibility defines for older libvpx versions */
26 -#ifndef VPX_IMG_FMT_I420
27 -#define VPX_IMG_FMT_I420 IMG_FMT_I420
31 -#define VPX_PLANE_Y PLANE_Y
35 -#define VPX_PLANE_U PLANE_U
39 -#define VPX_PLANE_V PLANE_V
42 const char * gst_vpx_error_name (vpx_codec_err_t status);