Skip to content

Commit

Permalink
omxrender: Hacks to reduce GUI rendering rate when playing video
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix authored and Dom Cobley committed Feb 16, 2015
1 parent b060e6a commit 9087635
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
27 changes: 27 additions & 0 deletions language/English/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -16214,3 +16214,30 @@ msgstr ""
msgctxt "#38021"
msgid "Allow viewing and playing files in archives (e.g. zip, rar)"
msgstr ""

#: system/settings/settings.xml
msgctxt "#38000"
msgid "Limit GUI updates when playing video"
msgstr ""

#: system/settings/settings.xml
msgctxt "#38001"
msgid "This can reduce CPU when playing video by updating the overlays less often"
msgstr ""

#: system/settings/settings.xml
msgctxt "#38002"
msgid "Off"
msgstr ""

msgctxt "#38003"
msgid "5 fps"
msgstr ""

msgctxt "#38004"
msgid "10 fps"
msgstr ""

msgctxt "#38005"
msgid "24 fps"
msgstr ""
16 changes: 16 additions & 0 deletions system/settings/rbp.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,22 @@
<control type="toggle" />
</setting>
</group>
<group id="3">
<setting id="videoplayer.limitguiupdate" type="integer" label="38000" help="38001">
<level>2</level>
<default>10</default>
<constraints>
<options>
<option label="38002">0</option> <!-- off -->
<option label="38003">5</option> <!-- 5 fps -->
<option label="38004">10</option> <!-- 10 fps -->
<option label="38005">24</option> <!-- 24 fps -->
</options>
</constraints>
<control type="spinner" format="string" />
<control type="edit" format="integer" />
</setting>
</group>
</category>
</section>

Expand Down

0 comments on commit 9087635

Please sign in to comment.