[MPlayer-dev-eng] [PATCH] Adding scrollable OSD text...

Stjepan Gros sgros at zemris.fer.hr
Fri Sep 26 15:57:26 CEST 2003


Hi all,

attached is (experimental) patch that adds scrolling text to a mplayer.
Messages are displayed at the top of a screen, and moved from right to
left. It is not finished, because currently i have no available time. If
anyone finds it useful, or has implementation improvements suggestions
(and there are plenty :)), i'll be glad to hear it.

Basically, it adds the following commands:

msg_start
	Start/continue displaying of any pending messages
msg_stop
	Stop/pause displaying messages
msg_new <style> <message>
	Add new message to be displayed. Style is a number that is
	currently unused. It is supposed to allow blinking messages and
	stuff like that
msg_flush
	Remove all unrendered messages from a queue
msg_speed <pixels>
	How fast messages are scrolled. It defines number of pixels a
	message is advanced at each frame
msg_urg
	Supposed to display urgent messages. It is unimplemented now.
msg_top
	Supposed to determine where messages are displayed (top, bottom)
	but currently unimplemented.

So, to try it patch and compile mplayer and then start it in a slave
mode with really-quiet option and type some commands....

Gros
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer.patch
Type: text/x-patch
Size: 20866 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030926/57e5dce4/attachment.bin>


More information about the MPlayer-dev-eng mailing list