diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-06-08 13:16:32 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-06-08 13:16:32 +0200 |
commit | cbcf3a9a2b624efea8151fddb345b23aaecea6c9 (patch) | |
tree | fbc1d23690e6a7e2948db5d8bedebf1886bed158 | |
parent | 0b82b4fa3e0979a0eb68d6886628c50bcd984ad2 (diff) |
debian/patches/0001-vp8enc-fix-target-bitrate-config-with-libvpx-1.1.0.patch: Dropped, merged upstreamdebian/0.11.92-1
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | debian/patches/0001-vp8enc-fix-target-bitrate-config-with-libvpx-1.1.0.patch | 40 | ||||
-rw-r--r-- | debian/patches/series | 1 |
3 files changed, 2 insertions, 41 deletions
diff --git a/debian/changelog b/debian/changelog index 3706d181..ff3461dd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,8 @@ gst-plugins-bad1.0 (0.11.92-1) experimental; urgency=low - Build depend on GStreamer core/base >= 0.11.92. + debian/build-deps.in: - Require orc >= 0.4.16. + + debian/patches/0001-vp8enc-fix-target-bitrate-config-with-libvpx-1.1.0.patch: + - Dropped, merged upstream. -- Sebastian Dröge <slomo@debian.org> Fri, 08 Jun 2012 13:13:33 +0200 diff --git a/debian/patches/0001-vp8enc-fix-target-bitrate-config-with-libvpx-1.1.0.patch b/debian/patches/0001-vp8enc-fix-target-bitrate-config-with-libvpx-1.1.0.patch deleted file mode 100644 index d7fd5259..00000000 --- a/debian/patches/0001-vp8enc-fix-target-bitrate-config-with-libvpx-1.1.0.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 332f715208d23f233309aa1f84619a887bbe0ed6 Mon Sep 17 00:00:00 2001 -From: Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> -Date: Fri, 18 May 2012 11:46:55 +0000 -Subject: 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 ---- -diff --git a/ext/vp8/gstvp8enc.c b/ext/vp8/gstvp8enc.c -index d21ed23..7c8b2db 100644 ---- a/ext/vp8/gstvp8enc.c -+++ b/ext/vp8/gstvp8enc.c -@@ -716,6 +716,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, -+ info->width * info->height, cfg.g_w * cfg.g_h); -+ - cfg.g_w = info->width; - cfg.g_h = info->height; - cfg.g_timebase.num = info->fps_d; -@@ -739,7 +743,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; --- -cgit v0.9.0.2-2-gbebe diff --git a/debian/patches/series b/debian/patches/series index c2098688..2497acb7 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1 @@ -0001-vp8enc-fix-target-bitrate-config-with-libvpx-1.1.0.patch 99_ltmain_as-needed.patch |