summaryrefslogtreecommitdiff
path: root/multimedia/gstreamer-plugins-bad/files/patch-ext_vp8_gstvp8utils.h
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2015-06-09 14:25:41 +0000
committerJan Beich <jbeich@FreeBSD.org>2015-06-09 14:25:41 +0000
commitf2fc9d6de460a59d2ca4633a80086dc32e24c086 (patch)
tree2ac32e924ca63b881b3775b37ea4a9ca3a11cc2c /multimedia/gstreamer-plugins-bad/files/patch-ext_vp8_gstvp8utils.h
parentbsd.sites.mk: cleanup MOZILLA mirrors (diff)
multimedia/libvpx: update to 1.4.0
ABI isn't compatible, so bump PORTREVISION in consumers. Changes: https://chromium.googlesource.com/webm/libvpx/+/v1.4.0 Differential Revision: https://reviews.freebsd.org/D2570 Exp-run by: antoine Approved by: ashish, multimedia (kwm) Approved by: maintainer timeout (ale, dinoex; 2 weeks)
Diffstat (limited to 'multimedia/gstreamer-plugins-bad/files/patch-ext_vp8_gstvp8utils.h')
-rw-r--r--multimedia/gstreamer-plugins-bad/files/patch-ext_vp8_gstvp8utils.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins-bad/files/patch-ext_vp8_gstvp8utils.h b/multimedia/gstreamer-plugins-bad/files/patch-ext_vp8_gstvp8utils.h
new file mode 100644
index 000000000000..d1da05e4f3ed
--- /dev/null
+++ b/multimedia/gstreamer-plugins-bad/files/patch-ext_vp8_gstvp8utils.h
@@ -0,0 +1,40 @@
+commit 130873c
+Author: Aurélien Zanelli <aurelien.zanelli@darkosphere.fr>
+Date: Sat Nov 1 12:18:02 2014 +0100
+
+ vpx: remove compatibility defines
+
+ 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 | 17 -----------------
+ 1 file changed, 17 deletions(-)
+
+--- ext/vp8/gstvp8utils.h.orig 2011-12-11 18:49:11 UTC
++++ ext/vp8/gstvp8utils.h
+@@ -25,23 +25,6 @@
+
+ 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