[transmageddon] small cleanups
- From: Christian Fredrik Kalager Schaller <uraeus src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [transmageddon] small cleanups
- Date: Tue, 31 May 2011 12:36:47 +0000 (UTC)
commit 7910c0de1eef1629d25e450c958ae2643173b74b
Author: Christian Fredrik Kalager Schaller <christian schaller collabora co uk>
Date: Tue May 31 13:36:38 2011 +0100
small cleanups
src/transcoder_engine.py | 6 ------
transmageddon.spec.in | 4 ++--
2 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/src/transcoder_engine.py b/src/transcoder_engine.py
index d61f0e9..99867df 100644
--- a/src/transcoder_engine.py
+++ b/src/transcoder_engine.py
@@ -348,14 +348,11 @@ class Transcoder(gobject.GObject):
return True
def OnDynamicPad(self, uridecodebin, src_pad):
- # c = src_pad.get_caps().to_string()
if (self.container==False):
a = src_pad.get_caps().to_string()
if a.startswith("audio/"):
sinkpad = self.encodebin.get_static_pad("audio_0")
src_pad.link(sinkpad)
- # elif a.startswith("video/"):
- # src_pad.link(self.fakesink.get_static_pad("sink"))
else:
if self.videocaps == "novid":
a = src_pad.get_caps().to_string()
@@ -364,10 +361,7 @@ class Transcoder(gobject.GObject):
c = sinkpad.get_caps().to_string()
if c.startswith("audio/"):
src_pad.link(sinkpad)
- #elif a.startswith("video/"):
- # src_pad.link(self.fakesink.get_static_pad("sink"))
else:
- print "encodebin is " + str(self.encodebin)
sinkpad = self.encodebin.emit("request-pad", src_pad.get_caps())
c = sinkpad.get_caps().to_string()
if c.startswith("audio/"):
diff --git a/transmageddon.spec.in b/transmageddon.spec.in
index b10dfbf..c2368c1 100644
--- a/transmageddon.spec.in
+++ b/transmageddon.spec.in
@@ -4,7 +4,7 @@ Name: @PACKAGE@
Version: @VERSION@
Release: 1
-Source: http://www.linuxrising.org/transmageddon/files/%{name}-%{version}.tar.gz
+Source: http://www.linuxrising.org/transmageddon/files/%{name}-%{version}.tar.xz
Packager: uraeus gnome org
License: LGPLv2+
Group: Applications/Multimedia
@@ -15,7 +15,7 @@ Requires: python >= 2.5
Requires: gstreamer >= @GST_REQ@
Requires: gstreamer-python >= @PYGST_REQ@
Requires: pygtk2 >= @PYGTK_REQ@
-Requires: gnome-python2 >= @PYGNOME_REQ@
+Requires: gnome-python2
Requires: pygobject2 >= 2.17.0
BuildRequires: gstreamer-devel >= @GST_REQ@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]