[transmageddon] fix fakesink call
- From: Christian Fredrik Kalager Schaller <uraeus src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [transmageddon] fix fakesink call
- Date: Wed, 13 Apr 2011 22:39:57 +0000 (UTC)
commit 5aac25aa52c4926b7dcb0cbe858461ca8c8cc0fa
Author: Christian Fredrik Kalager Schaller <christian schaller collabora co uk>
Date: Wed Apr 13 23:38:34 2011 +0100
fix fakesink call
src/transcoder_engine.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/transcoder_engine.py b/src/transcoder_engine.py
index 01b6e2e..156a39f 100644
--- a/src/transcoder_engine.py
+++ b/src/transcoder_engine.py
@@ -184,7 +184,8 @@ class Transcoder(gobject.GObject):
nheight = width
height = nheight
width = nwidth
- self.fakesink.set_state(gst.STATE_PAUSED)
+ if self.videocaps=="novid":
+ self.fakesink.set_state(gst.STATE_PAUSED)
self.uridecoder.set_state(gst.STATE_PAUSED)
self.encodebin.set_state(gst.STATE_PAUSED)
# print "setting uridcodebin to paused"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]