projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TranscodingSetup : fix bitrate range. (Min : 100k, Max : 10M)
[vuplus_dvbapp]
/
lib
/
python
/
Plugins
/
SystemPlugins
/
TransCodingSetup
/
plugin.py
diff --git
a/lib/python/Plugins/SystemPlugins/TransCodingSetup/plugin.py
b/lib/python/Plugins/SystemPlugins/TransCodingSetup/plugin.py
index
379bcb4
..
e6c79d5
100755
(executable)
--- a/
lib/python/Plugins/SystemPlugins/TransCodingSetup/plugin.py
+++ b/
lib/python/Plugins/SystemPlugins/TransCodingSetup/plugin.py
@@
-79,7
+79,7
@@
def createTransCodingConfig(encoder):
if getModel() == "solo2":
choice = TconfigInteger(encoder, default = 400000, limits = (50000, 1000000))
else:
if getModel() == "solo2":
choice = TconfigInteger(encoder, default = 400000, limits = (50000, 1000000))
else:
- choice = TconfigInteger(encoder, default = 2000000, limits = (100000,
5
000000))
+ choice = TconfigInteger(encoder, default = 2000000, limits = (100000,
10
000000))
setAttr("bitrate", encoder, choice)
if fileExists( getProcPath(encoder ,"framerate") ):
setAttr("bitrate", encoder, choice)
if fileExists( getProcPath(encoder ,"framerate") ):
@@
-493,7
+493,7
@@
class TranscodingSetup(Screen, ConfigListScreen):
elif className == "ConfigInteger" or className == "TconfigInteger":
limits = current.limits[0]
text = configName
elif className == "ConfigInteger" or className == "TconfigInteger":
limits = current.limits[0]
text = configName
- text += "%s : %d, %s : %d" % (_("M
ax"), limits[0], _("Min
"), limits[1])
+ text += "%s : %d, %s : %d" % (_("M
in"), limits[0], _("Max
"), limits[1])
self["description"].setText(text)
def showMessage(self, msg, msgType = MessageBox.TYPE_ERROR):
self["description"].setText(text)
def showMessage(self, msg, msgType = MessageBox.TYPE_ERROR):