[transmageddon] fix dropping video stream
- From: Christian Fredrik Kalager Schaller <uraeus src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [transmageddon] fix dropping video stream
- Date: Thu, 3 Jul 2014 09:21:38 +0000 (UTC)
commit 225bd55f3c72cc08f594f28b9096ac4db7434bf5
Author: Christian Fredrik Kalager Schaller <uraeus linuxrising org>
Date: Thu Jul 3 11:21:18 2014 +0200
fix dropping video stream
src/transcoder_engine.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/transcoder_engine.py b/src/transcoder_engine.py
index 6f01016..a510b34 100644
--- a/src/transcoder_engine.py
+++ b/src/transcoder_engine.py
@@ -383,6 +383,8 @@ class Transcoder(GObject.GObject):
if streamid ==self.videodata[0]['streamid']:
if self.videodata[0]['dopassthrough'] == True:
autoplugreturnvalue = False
+ if self.videodata[0]['outputvideocaps'] == False:
+ autoplugreturnvalue = False
capsvalue=caps.to_string()
if capsvalue.startswith("subtitle/"): # this is to avoid wasting resources on decoding subtitles
self.autoplugreturnvalue =False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]