[transmageddon] More fixes, fixing 'novid' option. Might cause a regression as I don't understand why I added output
- From: Christian Fredrik Kalager Schaller <uraeus src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [transmageddon] More fixes, fixing 'novid' option. Might cause a regression as I don't understand why I added output
- Date: Tue, 3 Sep 2013 09:50:00 +0000 (UTC)
commit 32d615e0943673db5caf04fa425c3ab7bfe5d664
Author: Christian Fredrik Kalager Schaller <uraeus linuxrising org>
Date: Tue Sep 3 11:49:09 2013 +0200
More fixes, fixing 'novid' option. Might cause a regression as I don't
understand why I added outputcaps 'novid' as a scenario for setting
remuxcaps.
src/transcoder_engine.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/transcoder_engine.py b/src/transcoder_engine.py
index 7745422..771db73 100644
--- a/src/transcoder_engine.py
+++ b/src/transcoder_engine.py
@@ -194,7 +194,7 @@ class Transcoder(GObject.GObject):
if self.videodata[0]['dopassthrough'] and not self.audiodata[0]['dopassthrough']:
audiostruct=Gst.Structure.from_string("audio/x-raw")
self.remuxcaps.append_structure(audiostruct[0])
- if self.videodata[0]['outputvideocaps']=="novid":
+ if self.videodata[0]['outputvideocaps']!="novid":
if self.videodata[0]['inputvideocaps'] != None:
self.remuxcaps.append(self.videodata[0]['inputvideocaps'])
audiostruct=Gst.Structure.from_string("audio/x-raw")
@@ -205,7 +205,7 @@ class Transcoder(GObject.GObject):
self.uridecoder.connect("pad-added", self.OnDynamicPad)
self.uridecoder.connect('source-setup', self.dvdreadproperties)
- if (self.audiodata[0]['dopassthrough']) or (self.videodata[0]['dopassthrough']) or
(self.videodata[0]['outputvideocaps']=="novid"):
+ if (self.audiodata[0]['dopassthrough']) or (self.videodata[0]['dopassthrough']): # or
(self.videodata[0]['outputvideocaps']=="novid"):
self.uridecoder.set_property("caps", self.remuxcaps)
self.uridecoder.set_state(Gst.State.PAUSED)
self.pipeline.add(self.uridecoder)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]