[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#909953: stretch-pu: package soundconverter/3.0.0~alpha1+git20151209-1+deb9u1



Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian.org@packages.debian.org
Usertags: pu

Users requested a fix for #834598 (unable to encode as ogg) in stretch. It's
only a normal bug, but also only a one line change. Full diff is below. Please
let me know if it's okay to upload it.

Cheers


diff --git a/debian/changelog b/debian/changelog
index 8be335b..f3fc43e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+soundconverter (3.0.0~alpha1+git20151209-1+deb9u1) stretch; urgency=medium
+
+  * debian/gbp.conf: Work on stretch branch.
+  * debian/patches: Apply upstream patch to fix opus vbr setting. (Closes:
+    #834598)
+
+ -- Sebastian Ramacher <sramacher@debian.org>  Sun, 30 Sep 2018 17:29:01 +0200
+
 soundconverter (3.0.0~alpha1+git20151209-1) unstable; urgency=medium
 
   * New upstream snapshot.
diff --git a/debian/gbp.conf b/debian/gbp.conf
index 1270436..14695eb 100644
--- a/debian/gbp.conf
+++ b/debian/gbp.conf
@@ -1,4 +1,4 @@
 [DEFAULT]
 pristine-tar = True
-debian-branch = master
+debian-branch = stretch
 upstream-branch = upstream
diff --git a/debian/patches/0001-Fix-opus-vbr-setting.patch b/debian/patches/0001-Fix-opus-vbr-setting.patch
new file mode 100644
index 0000000..3e794f3
--- /dev/null
+++ b/debian/patches/0001-Fix-opus-vbr-setting.patch
@@ -0,0 +1,22 @@
+From: kassoulet <gautier@soundconverter.org>
+Date: Fri, 2 Sep 2016 21:33:16 +0200
+Subject: Fix opus vbr setting
+
+Closes lp:1097610, thanks Alexander.
+---
+ soundconverter/gstreamer.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/soundconverter/gstreamer.py b/soundconverter/gstreamer.py
+index fe4d890..4d37ff8 100644
+--- a/soundconverter/gstreamer.py
++++ b/soundconverter/gstreamer.py
+@@ -630,7 +630,7 @@ class Converter(Decoder):
+         return 'faac bitrate=%s ! mp4mux' % (self.aac_quality * 1000)
+ 
+     def add_opus_encoder(self):
+-        return 'opusenc bitrate=%s cbr=false bandwidth=auto ! oggmux' % (self.opus_quality * 1000)
++        return 'opusenc bitrate=%s bitrate-type=vbr bandwidth=auto ! oggmux' % (self.opus_quality * 1000)
+ 
+     def add_audio_profile(self):
+         pipeline = audio_profiles_dict[self.audio_profile][2]
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6a12c25
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Fix-opus-vbr-setting.patch

-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature


Reply to: