The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / gstreamer / gst-plugins-bad / 0003-drop-buggy-libvpx-legacy-handling.patch
1 [PATCH] vp8: drop buggy libvpx legacy handling
2
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.
6
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.
11
12 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
13 ---
14  ext/vp8/gstvp8utils.h |   17 -----------------
15  1 file changed, 17 deletions(-)
16
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 @@
22  
23  G_BEGIN_DECLS
24  
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
29 -
30 -#ifndef VPX_PLANE_Y
31 -#define VPX_PLANE_Y PLANE_Y
32 -#endif
33 -
34 -#ifndef VPX_PLANE_U
35 -#define VPX_PLANE_U PLANE_U
36 -#endif
37 -
38 -#ifndef VPX_PLANE_V
39 -#define VPX_PLANE_V PLANE_V
40 -#endif
41 -
42  const char * gst_vpx_error_name (vpx_codec_err_t status);
43  
44  G_END_DECLS