summaryrefslogtreecommitdiff
path: root/source/l/gst-plugins-good
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/gst-plugins-good')
-rwxr-xr-xsource/l/gst-plugins-good/gst-plugins-good.SlackBuild5
-rw-r--r--source/l/gst-plugins-good/gst-plugins-good.libvpx-1.8.diff21
2 files changed, 25 insertions, 1 deletions
diff --git a/source/l/gst-plugins-good/gst-plugins-good.SlackBuild b/source/l/gst-plugins-good/gst-plugins-good.SlackBuild
index 2444a964..bf052cac 100755
--- a/source/l/gst-plugins-good/gst-plugins-good.SlackBuild
+++ b/source/l/gst-plugins-good/gst-plugins-good.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=gst-plugins-good
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -81,6 +81,9 @@ rm -rf $PKGNAM-$VERSION
tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
cd $PKGNAM-$VERSION
+# Adapt to removed VP8 decoder post processing flags in libvpx-1.8.x:
+zcat $CWD/gst-plugins-good.libvpx-1.8.diff.gz | patch -p1 --verbose || exit 1
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
diff --git a/source/l/gst-plugins-good/gst-plugins-good.libvpx-1.8.diff b/source/l/gst-plugins-good/gst-plugins-good.libvpx-1.8.diff
new file mode 100644
index 00000000..0d37b44b
--- /dev/null
+++ b/source/l/gst-plugins-good/gst-plugins-good.libvpx-1.8.diff
@@ -0,0 +1,21 @@
+--- ./ext/vpx/gstvpxdec.c.orig 2018-03-23 15:44:48.000000000 -0500
++++ ./ext/vpx/gstvpxdec.c 2019-02-06 15:46:09.031432673 -0600
+@@ -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}
+ };