[transmageddon] Add fix from Szilveszter Ördög to fix audio encoding issue 732975
- From: Christian Fredrik Kalager Schaller <uraeus src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [transmageddon] Add fix from Szilveszter Ördög to fix audio encoding issue 732975
- Date: Sun, 12 Oct 2014 14:57:29 +0000 (UTC)
commit a73ba9710709c71da212ec92ef584804cd41e86b
Author: Christian Fredrik Kalager Schaller <uraeus linuxrising org>
Date: Sun Oct 12 16:56:22 2014 +0200
Add fix from Szilveszter Ördög to fix audio encoding issue 732975
AUTHORS | 4 +++-
NEWS | 3 +++
src/about.py.in | 7 ++++++-
src/transcoder_engine.py | 10 ++++++++--
4 files changed, 20 insertions(+), 4 deletions(-)
---
diff --git a/AUTHORS b/AUTHORS
index 1b4df65..500ffd2 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -15,7 +15,9 @@ Laszly Pandy <laszlok2(at)gmail.com>
Claude Paroz <claude(at)2xlibre.net>
Javier Jardón <jjardon(at)gnome.org>
Frederik Elwert <frederik.elwert(at)web.de>
-Marek Černocký <marek(at)manet.cz
+Marek Černocký <marek(at)manet.cz>
+Szilveszter Ördög <slipszi(at)gmail.com>
+Richard Hughes <<richard<at)hughsie.com>
Translations:
Łukasz Jernaś <deejay1 srem org>
diff --git a/NEWS b/NEWS
index 069bdd5..f7ec94d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+1.4
+ Fix audio encoding bug
+ Fix Apppdata information
1.3 -
Fix embarassing bug where I had turned off Vaapi decoding by mistake
1.2 -
diff --git a/src/about.py.in b/src/about.py.in
index d941284..6c19f2b 100644
--- a/src/about.py.in
+++ b/src/about.py.in
@@ -15,7 +15,12 @@ Authors = ["Christian Schaller <uraeus gnome org>",
"Tom Parker <palfrey tevp neta>",
"Arun Raghavan <arunsr gnome org>",
"Laszlo Pandy <laszlok2 gmail com>",
- "Claude Paroz <claude 2xlibre net>"
+ "Claude Paroz <claude 2xlibre net>",
+ "Javier Jardón <jjardon gnome org>",
+ "Frederik Elwert <frederik elwert web de>",
+ "Marek Černocký <marek manet cz>",
+ "Szilveszter Ördög <slipszi gmail com>",
+ "Richard Hughes <richard hughsie com>"
]
Artists = ["Jakub Steiner <jimmac gnome org>"]
diff --git a/src/transcoder_engine.py b/src/transcoder_engine.py
index dfa6458..f5e0134 100644
--- a/src/transcoder_engine.py
+++ b/src/transcoder_engine.py
@@ -163,6 +163,13 @@ class Transcoder(GObject.GObject):
self.encodebin.set_property("avoid-reencoding", True)
self.pipeline.add(self.encodebin)
self.encodebin.set_state(Gst.State.PAUSED)
+ self.audiopads = {}
+ x=0
+ while x < len(self.audiodata):
+ if self.audiodata[x]['outputaudiocaps'] != (False or "noaud"):
+ if self.streamdata['container']!=False:
+ self.audiopads[x] = self.encodebin.emit("request-profile-pad",
"audioprofilename"+str(x))
+ x=x+1
self.uridecoder = Gst.ElementFactory.make("uridecodebin", "uridecoder")
self.uridecoder.set_property("uri", self.streamdata['filechoice'])
@@ -295,8 +302,7 @@ class Transcoder(GObject.GObject):
if self.probestreamid not in self.usedstreamids:
self.usedstreamids.append(self.probestreamid)
if self.audiodata[x]['outputaudiocaps'] != 'noaud':
- sinkpad = self.encodebin.emit("request-profile-pad", "audioprofilename"+str(x))
- pad.link(sinkpad)
+ pad.link(self.audiopads[x])
x=x+1
return Gst.PadProbeReturn.OK
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]