Forward port of branches/0.8.1-jpsaman-thedj revision 12070. The OSD menu subsystem...
authorJean-Paul Saman <jpsaman@videolan.org>
Wed, 10 Aug 2005 22:08:50 +0000 (22:08 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Wed, 10 Aug 2005 22:08:50 +0000 (22:08 +0000)
commit26e60046898da4294f4686d34fbf499385bbf6d1
tree070c1056e755c271c794b63819104de5b43e48c2
parentd8fc9f3b89c2b0409bcda5fa81a5e604103c20ef
Forward port of branches/0.8.1-jpsaman-thedj revision 12070. The OSD menu subsystem consists of two parts a core part (src/osd, include/vlc_osd.h) and a subfilter (modules/video_filter/osdmenu.c). The OSD menu can be used locally or it can be streamed. It depends on the way the functionality is called from the vlc commandline. Currently there is only one way to make the subpictures appear on the video and that is through the rc-interface. The following commands are supported by it: "menu on" (show OSD menu), "menu off" (hide OSD menu), "menu left" (highlight button on the left), "menu right" (highlight button on the right), "menu up" (highlight button above), "menu down" (highlight button below) or "menu select" (perform hotkey action). When there is no button on the left, right, up or down then the menu-command will be ignored.

To stream use a commandline similar to this:

./vlc dvdsimple:///dev/dvd --sub-filter=osdmenu --osdmenu-file=share/osdmenu/default.cfg --extraintf rc --sout '#transcode{sfilter=osdmenu}:std{mux=ts,access=udp,url=127.0.0.1:1234}' -vvvv

For local playback a commandline like this is needed:

./vlc dvdsimple:///dev/dvd --sub-filter=osdmenu --osdmenu-file=share/osdmenu/default.cfg -vvvv

Have fun with the basic functionality - jpsaman.
19 files changed:
Makefile.am
configure.ac
include/stream_output.h
include/vlc_common.h
include/vlc_objects.h
include/vlc_osd.h [new file with mode: 0644]
include/vlc_symbols.h
modules/LIST
modules/codec/dvbsub.c
modules/control/rc.c
modules/stream_out/transcode.c
modules/video_filter/Modules.am
modules/video_filter/osdmenu.c [new file with mode: 0644]
src/Makefile.am
src/misc/modules.c
src/misc/objects.c
src/osd/osd.c [new file with mode: 0644]
src/osd/osd_parser.c [new file with mode: 0644]
src/osd/osd_widgets.c [new file with mode: 0644]