diff options
author | Mart Raudsepp <leio@gentoo.org> | 2019-06-20 23:35:54 +0300 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2019-06-21 00:25:42 +0300 |
commit | a0e8f4bea6ae3fe17b28f800ce38d86e1e20c324 (patch) | |
tree | 5b6278d01cff1b20fa2ba1a3327d5c1eaf133d2b /media-plugins | |
parent | media-plugins/gst-plugins-x: remove gstreamer 0.10 (diff) | |
download | gentoo-a0e8f4bea6ae3fe17b28f800ce38d86e1e20c324.tar.gz gentoo-a0e8f4bea6ae3fe17b28f800ce38d86e1e20c324.tar.bz2 gentoo-a0e8f4bea6ae3fe17b28f800ce38d86e1e20c324.zip |
media-plugins/gst-plugins-vp8: remove gstreamer 0.10
media-plugins/gst-plugins-vpx does VP8 and VP9 decode for 1.0
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'media-plugins')
6 files changed, 0 insertions, 117 deletions
diff --git a/media-plugins/gst-plugins-vp8/Manifest b/media-plugins/gst-plugins-vp8/Manifest deleted file mode 100644 index 2bacf1bcea5d..000000000000 --- a/media-plugins/gst-plugins-vp8/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST gst-plugins-bad-0.10.23.tar.xz 3155044 BLAKE2B 86ed955fb5c73f2145b8f8ed2daaeffd9975362e81c3ca911be00d18f6b6d975381651071eb54514ef94a931f1fc89e673dc8c1d68e10de132bbe51accb6d165 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 diff --git a/media-plugins/gst-plugins-vp8/files/gst-plugins-vp8-0.10.23-drop-vpx-compat-defines.patch b/media-plugins/gst-plugins-vp8/files/gst-plugins-vp8-0.10.23-drop-vpx-compat-defines.patch deleted file mode 100644 index 599ec08a188d..000000000000 --- a/media-plugins/gst-plugins-vp8/files/gst-plugins-vp8-0.10.23-drop-vpx-compat-defines.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -up gst-plugins-bad-0.10.23/ext/vp8/gstvp8utils.h.drop-compat-defines gst-plugins-bad-0.10.23/ext/vp8/gstvp8utils.h ---- gst-plugins-bad-0.10.23/ext/vp8/gstvp8utils.h.drop-compat-defines 2015-04-07 09:28:01.637679239 -0400 -+++ gst-plugins-bad-0.10.23/ext/vp8/gstvp8utils.h 2015-04-07 09:28:10.397622550 -0400 -@@ -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 diff --git a/media-plugins/gst-plugins-vp8/files/gst-plugins-vp8-0.10.23-libvpx-1.1.patch b/media-plugins/gst-plugins-vp8/files/gst-plugins-vp8-0.10.23-libvpx-1.1.patch deleted file mode 100644 index fd26db8c2ab7..000000000000 --- a/media-plugins/gst-plugins-vp8/files/gst-plugins-vp8-0.10.23-libvpx-1.1.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 7e51c854b28f68e434523b83cd4bd76ea18aab54 Mon Sep 17 00:00:00 2001 -From: Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> -Date: Fri, 18 May 2012 12:46:55 +0100 -Subject: [PATCH] vp8enc: fix target bitrate config with libvpx 1.1.0 - -libvpx 1.1.0 disallows a bitrate of 0, which was used by -vp8enc as a default value. - -Instead, we use the default libvpx bitrate, scaled to our -video size, if no bitrate was specified. - -This fixes encoding VP8 video with libvpx 1.1.0. - -https://bugzilla.gnome.org/show_bug.cgi?id=676245 - -[Alexandre Rostovtsev <tetromino@gentoo.org>: backport to 0.10.23] ---- - ext/vp8/gstvp8enc.c | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/ext/vp8/gstvp8enc.c b/ext/vp8/gstvp8enc.c -index b1f06e0..123d4dd 100644 ---- a/ext/vp8/gstvp8enc.c -+++ b/ext/vp8/gstvp8enc.c -@@ -732,6 +732,10 @@ gst_vp8_enc_set_format (GstBaseVideoEncoder * base_video_encoder, - return FALSE; - } - -+ /* Scale default bitrate to our size */ -+ cfg.rc_target_bitrate = gst_util_uint64_scale (cfg.rc_target_bitrate, -+ state->width * state->height, cfg.g_w * cfg.g_h); -+ - cfg.g_w = state->width; - cfg.g_h = state->height; - cfg.g_timebase.num = state->fps_d; -@@ -755,7 +759,6 @@ gst_vp8_enc_set_format (GstBaseVideoEncoder * base_video_encoder, - } else { - cfg.rc_min_quantizer = (gint) (63 - encoder->quality * 6.2); - cfg.rc_max_quantizer = (gint) (63 - encoder->quality * 6.2); -- cfg.rc_target_bitrate = encoder->bitrate; - } - cfg.rc_dropframe_thresh = encoder->drop_frame; - cfg.rc_resize_allowed = encoder->resize_allowed; --- -1.8.0 - diff --git a/media-plugins/gst-plugins-vp8/gst-plugins-vp8-0.10.23-r3.ebuild b/media-plugins/gst-plugins-vp8/gst-plugins-vp8-0.10.23-r3.ebuild deleted file mode 100644 index 2da10529ad1e..000000000000 --- a/media-plugins/gst-plugins-vp8/gst-plugins-vp8-0.10.23-r3.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -GST_ORG_MODULE=gst-plugins-bad -inherit eutils gstreamer - -DESCRIPTION="GStreamer decoder for vpx video format" -KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd" -IUSE="" - -RDEPEND=">=media-libs/libvpx-1.2.0_pre20130625[${MULTILIB_USEDEP}]" -DEPEND="${RDEPEND}" - -src_prepare() { - # Fix zero-bitrate vp8 encoding with libvpx-1.1, bug #435282 - epatch "${FILESDIR}/${PN}-0.10.23-libvpx-1.1.patch" - - # Drop old compat code that makes this break with libvpx-1.4, bug #545958 (from Fedora) - epatch "${FILESDIR}/${PN}-0.10.23-drop-vpx-compat-defines.patch" - - local pdir=$(gstreamer_get_plugin_dir) - # gstbasevideo has no .pc - sed -e "s:\$(top_builddir)/gst-libs/gst/video/.*\.la:-lgstbasevideo-${SLOT}:" \ - -i "${pdir}"/Makefile.{am,in} || die -} diff --git a/media-plugins/gst-plugins-vp8/metadata.xml b/media-plugins/gst-plugins-vp8/metadata.xml deleted file mode 100644 index fb1ea7216a80..000000000000 --- a/media-plugins/gst-plugins-vp8/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>gstreamer@gentoo.org</email> - <name>GStreamer package maintainers</name> -</maintainer> -</pkgmetadata> diff --git a/media-plugins/gst-plugins-x/metadata.xml b/media-plugins/gst-plugins-x/metadata.xml deleted file mode 100644 index fb1ea7216a80..000000000000 --- a/media-plugins/gst-plugins-x/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>gstreamer@gentoo.org</email> - <name>GStreamer package maintainers</name> -</maintainer> -</pkgmetadata> |