summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-09-17 09:03:45 +0200
committerwm4 <wm4@nowhere>2012-09-18 21:08:20 +0200
commit65adad50ab04520748796b9752dcf61b44dafdd2 (patch)
tree941bdd511a54fd027190e2da55bf810062fe3f49 /input
parentf5f0c66d1f42c687f3a1394a828c1f2e0ce8eae1 (diff)
downloadmpv-65adad50ab04520748796b9752dcf61b44dafdd2.tar.bz2
mpv-65adad50ab04520748796b9752dcf61b44dafdd2.tar.xz
mplayer: unbreak OSD with CONFIG_ENCODING undefined
Basically, the encoding code path wanted to set osdlevel=0 as default, while normal playback needs osdlevel=1. For this purpose, osdlevel was set to -1 (i.e. invalid) initially to detect whether the --osdlevel option was explicitly set. When encoding was not configured (CONFIG_ENCODING undefined), the osdlevel value was not set from -1 to 1 properly, and the OSD remained invisible by default. Fix this by getting rid of this logic. It shouldn't be needed, since osdlevel=1 never shows any OSD messages without user interaction. Should this ever change, we could still check whether encoding is in progress, or add another option to allow OSD rendering during encoding.
Diffstat (limited to 'input')
0 files changed, 0 insertions, 0 deletions