summaryrefslogtreecommitdiff
path: root/media-plugins/gst-plugins-vp8/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-06-22 11:30:24 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-06-22 11:30:24 +0100
commitd56d144655e3785864da43c9acb6c228ef9360ae (patch)
treeb769b599a558483f82e9a057c41f1edd29626dd1 /media-plugins/gst-plugins-vp8/files
parentfab849d1daed0ba7f2ac497d07985c3dbb692543 (diff)
gentoo resync : 22.06.2019
Diffstat (limited to 'media-plugins/gst-plugins-vp8/files')
-rw-r--r--media-plugins/gst-plugins-vp8/files/gst-plugins-vp8-0.10.23-drop-vpx-compat-defines.patch27
-rw-r--r--media-plugins/gst-plugins-vp8/files/gst-plugins-vp8-0.10.23-libvpx-1.1.patch46
2 files changed, 0 insertions, 73 deletions
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
-