[Pkg-gstreamer-commits] [SCM] GStreamer Bad Plugins 1.0 Packaging branch, master, updated. debian/0.11.91-3-7-gcbcf3a9

Sebastian Dröge sebastian.droege at collabora.co.uk
Fri Jun 8 11:25:00 UTC 2012


The following commit has been merged in the master branch:
commit cbcf3a9a2b624efea8151fddb345b23aaecea6c9
Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Fri Jun 8 13:16:32 2012 +0200

    debian/patches/0001-vp8enc-fix-target-bitrate-config-with-libvpx-1.1.0.patch: Dropped, merged upstream

diff --git a/debian/changelog b/debian/changelog
index 3706d18..ff3461d 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 at 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 d7fd525..0000000
--- 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 at 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 c209868..2497acb 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

-- 
GStreamer Bad Plugins 1.0 Packaging



More information about the Pkg-gstreamer-commits mailing list