projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8963bae
)
[TransCodingSetup] fix set config bug and wrong description.
author
hschang
<chang@dev3>
Mon, 20 Oct 2014 11:43:08 +0000
(20:43 +0900)
committer
hschang
<chang@dev3>
Mon, 20 Oct 2014 11:58:30 +0000
(20:58 +0900)
lib/python/Plugins/SystemPlugins/TransCodingSetup/plugin.py
patch
|
blob
|
history
diff --git
a/lib/python/Plugins/SystemPlugins/TransCodingSetup/plugin.py
b/lib/python/Plugins/SystemPlugins/TransCodingSetup/plugin.py
index
6694035
..
e0ed0df
100755
(executable)
--- a/
lib/python/Plugins/SystemPlugins/TransCodingSetup/plugin.py
+++ b/
lib/python/Plugins/SystemPlugins/TransCodingSetup/plugin.py
@@
-169,6
+169,13
@@
class TranscodingSetupInit:
if hasAttr("framerate", encoder):
getAttr("framerate", encoder).addNotifier(self.setFramerate)
if hasAttr("framerate", encoder):
getAttr("framerate", encoder).addNotifier(self.setFramerate)
+ else:
+ if hasAttr("bitrate", encoder):
+ getAttr("bitrate", encoder).addNotifier(self.setBitrate)
+
+ if hasAttr("framerate", encoder):
+ getAttr("framerate", encoder).addNotifier(self.setFramerate)
+
if hasAttr("resolution", encoder):
getAttr("resolution", encoder).addNotifier(self.setResolution)
if hasAttr("resolution", encoder):
getAttr("resolution", encoder).addNotifier(self.setResolution)
@@
-379,7
+386,7
@@
class TranscodingSetup(Screen, ConfigListScreen):
else:
self.skin = TranscodingSetup.skin_normal
else:
self.skin = TranscodingSetup.skin_normal
- if getModel()
== "solo2"
:
+ if getModel()
in ("solo2", "solose")
:
TEXT = _("Transcoding and PIP are mutually exclusive.")
else:
TEXT = _("2nd transcoding and PIP are mutually exclusive.")
TEXT = _("Transcoding and PIP are mutually exclusive.")
else:
TEXT = _("2nd transcoding and PIP are mutually exclusive.")