python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / gstreamer / gst-plugins-bad / 0003-drop-buggy-libvpx-legacy-handling.patch
blob780b5e38e68646cc428293f0e9ee31bad03c51c6
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
10 matter) any more.
12 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
13 ---
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
21 @@ -25,23 +25,6 @@
23 G_BEGIN_DECLS
25 -/* Some compatibility defines for older libvpx versions */
26 -#ifndef VPX_IMG_FMT_I420
27 -#define VPX_IMG_FMT_I420 IMG_FMT_I420
28 -#endif
30 -#ifndef VPX_PLANE_Y
31 -#define VPX_PLANE_Y PLANE_Y
32 -#endif
34 -#ifndef VPX_PLANE_U
35 -#define VPX_PLANE_U PLANE_U
36 -#endif
38 -#ifndef VPX_PLANE_V
39 -#define VPX_PLANE_V PLANE_V
40 -#endif
42 const char * gst_vpx_error_name (vpx_codec_err_t status);
44 G_END_DECLS