[MPlayer-dev-eng] [PATCH] support run command with specific osd_level

Ulion ulion2002 at gmail.com
Mon Jan 28 13:51:36 CET 2008


Hello,

Here's patches make it possible to run command with specific
osd_level, i.g. 'osd_level 0 seek 100' will run command 'seek 100'
with osd disabled only for osd msgs and progress bar generated by this
command. also, 'osd_level 3 seek 100' will display osd msgs and
progress bar generated by command 'seek 100' in osd_level 3, that
means it will display the progress bar and time position info for one
second nomatter what the current osd_level value is.

Attached patches;
patch 1: move osd macro definations and osd function from mp_core.h
into a new header file mp_osd.h
patch 2: support run command with specific osd level, need apply patch 1 first.
patch 3: patch for MPlayer OSX to turn off osd only for specific commands.

If there's no objection, I will apply patch 1 tomorrow, apply patch 2 in 2 days.

-- 
Ulion
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mp_osd.diff
Type: application/octet-stream
Size: 2709 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080128/bc9547df/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmd_with_osd_level.diff
Type: application/octet-stream
Size: 5917 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080128/bc9547df/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayerosx_osdfix.diff
Type: application/octet-stream
Size: 5192 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080128/bc9547df/attachment-0002.obj>


More information about the MPlayer-dev-eng mailing list