Permalink
Browse files

gstreamer1-gst-plugins-good: fix build with libvpx 1.8.0, rebuild

  • Loading branch information...
dbevans committed Feb 11, 2019
1 parent 8a133c0 commit d6384e34b818ccaf86070c9d48296b24192a9b65
@@ -11,6 +11,7 @@ name gstreamer1-gst-plugins-good
set my_name gst-plugins-good
# please only commit stable updates (even numbered releases)
version 1.14.4
revision 1
description A set of good-quality plug-ins for GStreamer under GStreamer's preferred \
license, LGPL.
long_description GStreamer Good Plug-ins is a set of plug-ins that GStreamer's developers \
@@ -52,6 +53,9 @@ depends_lib port:gstreamer1-gst-plugins-base \
port:twolame \
port:wavpack

# fix build with libvpx 1.8.0
patchfiles-append patch-ext-vpx-gstvpxdec.c.diff

platform darwin {
if {${os.major} < 11} {
patchfiles-append snowleopard-strnlen.patch snowleopard-memmem.patch
@@ -0,0 +1,21 @@
--- ext/vpx/gstvpxdec.c.orig 2019-02-10 12:51:04.000000000 -0800
+++ ext/vpx/gstvpxdec.c 2019-02-10 16:16:21.000000000 -0800
@@ -62,18 +62,6 @@
{C_FLAGS (VP8_DEBLOCK), "Deblock", "deblock"},
{C_FLAGS (VP8_DEMACROBLOCK), "Demacroblock", "demacroblock"},
{C_FLAGS (VP8_ADDNOISE), "Add noise", "addnoise"},
- {C_FLAGS (VP8_DEBUG_TXT_FRAME_INFO),
- "Print frame information",
- "visualize-frame-info"},
- {C_FLAGS (VP8_DEBUG_TXT_MBLK_MODES),
- "Show macroblock mode selection overlaid on image",
- "visualize-macroblock-modes"},
- {C_FLAGS (VP8_DEBUG_TXT_DC_DIFF),
- "Show dc diff for each macro block overlaid on image",
- "visualize-dc-diff"},
- {C_FLAGS (VP8_DEBUG_TXT_RATE_INFO),
- "Print video rate info",
- "visualize-rate-info"},
{C_FLAGS (VP8_MFQE), "Multi-frame quality enhancement", "mfqe"},
{0, NULL, NULL}
};

0 comments on commit d6384e3

Please sign in to comment.