wok-next view gst0-plugins-bad/stuff/patches/vp8.patch @ rev 19865

slitaz-base-files: typo
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Sep 12 03:41:56 2017 +0300 (2017-09-12)
parents
children
line source
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 at korsgaard.com>
14 --- gst-plugins-bad-0.10.23.orig/ext/vp8/gstvp8utils.h
15 +++ gst-plugins-bad-0.10.23/ext/vp8/gstvp8utils.h
16 @@ -25,23 +25,6 @@
18 G_BEGIN_DECLS
20 -/* Some compatibility defines for older libvpx versions */
21 -#ifndef VPX_IMG_FMT_I420
22 -#define VPX_IMG_FMT_I420 IMG_FMT_I420
23 -#endif
24 -
25 -#ifndef VPX_PLANE_Y
26 -#define VPX_PLANE_Y PLANE_Y
27 -#endif
28 -
29 -#ifndef VPX_PLANE_U
30 -#define VPX_PLANE_U PLANE_U
31 -#endif
32 -
33 -#ifndef VPX_PLANE_V
34 -#define VPX_PLANE_V PLANE_V
35 -#endif
36 -
37 const char * gst_vpx_error_name (vpx_codec_err_t status);
39 G_END_DECLS