[MPlayer-dev-eng] [PATCH] dvdnav - wait, still frame, change audio and spu (nav)
Ötvös Attila
oattila at chello.hu
Fri Mar 9 20:23:32 CET 2007
2007. március 9. 00.53 dátummal Nico Sabbi ezt írta:
> please, describe in detail what every patch is supposed to do and
> comment the code. How can we review such huge changes without comments'
Hi Nico Sabbi!
My main modifies are in gui.patch:
On the most places the code copies parts of DVD.
There are two main differences:
Gui/mplayer/mw.c:
The go to main menu and title, chapter, audio channel and subtitle are
selected with mp_input_queue_cmd() funtion.
Eg. change subtitle:
snprintf(cmd_str,sizeof(cmd_str),"sub_select %d",dvdsub_id);
mp_input_queue_cmd(mp_input_parse_cmd(cmd_str));
Gui/mplayer/sw.c:
The wsPLMouseButton event uses mplayer_put_key(MOUSE_BTN0) functions and the
wsMoveMouse event uses mp_input_queue_cmd() function with 'set_mouse_pos'
command.
Best regard!
Attila
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gui.patch
Type: text/x-diff
Size: 17694 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070309/bdb9c0eb/attachment.patch>
More information about the MPlayer-dev-eng
mailing list