[transmageddon] Small fix to make transcoding of audio only to audio only with container work
- From: Christian Fredrik Kalager Schaller <uraeus src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [transmageddon] Small fix to make transcoding of audio only to audio only with container work
- Date: Thu, 14 Apr 2011 21:06:57 +0000 (UTC)
commit e38a6b76beafd3de6f467daf9da7906ce1da1187
Author: Christian Fredrik Kalager Schaller <christian schaller collabora co uk>
Date: Thu Apr 14 22:05:27 2011 +0100
Small fix to make transcoding of audio only to audio only with container work
src/transmageddon.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/transmageddon.py b/src/transmageddon.py
index 3e76c40..4d03f2c 100644
--- a/src/transmageddon.py
+++ b/src/transmageddon.py
@@ -730,7 +730,8 @@ class TransmageddonUI:
audiostatus = codecfinder.get_audio_encoder_element(self.AudioCodec)
else:
audiostatus=True
-
+ if self.havevideo == False: # this flags help check if input is audio-only file
+ videostatus=True
if not containerstatus or not videostatus or not audiostatus:
self.missingtoggle=True
fail_info = []
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]