[transmageddon] Fix bug for audio only streams
- From: Christian Fredrik Kalager Schaller <uraeus src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [transmageddon] Fix bug for audio only streams
- Date: Sat, 15 Oct 2011 18:38:43 +0000 (UTC)
commit c49a46e1ffe7b2fadd515851b15009b664cf3fc2
Author: Christian Fredrik Kalager Schaller <christian schaller collabora co uk>
Date: Sat Oct 15 19:38:27 2011 +0100
Fix bug for audio only streams
src/transcoder_engine.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/transcoder_engine.py b/src/transcoder_engine.py
index 60c0991..c69d88c 100644
--- a/src/transcoder_engine.py
+++ b/src/transcoder_engine.py
@@ -328,7 +328,7 @@ class Transcoder(gobject.GObject):
def OnDynamicPad(self, uridecodebin, src_pad):
origin = src_pad.get_caps()
if (self.container==False):
- a = origin.get_caps().to_string()
+ a = origin.to_string()
if a.startswith("audio/"):
sinkpad = self.encodebin.get_static_pad("audio_0")
src_pad.link(sinkpad)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]