[MPlayer-dev-eng] [PATCH] Fix pausing_toggle not toggle bug when just paused

Ulion ulion2002 at gmail.com
Mon Nov 12 10:31:33 CET 2007


Hello,

When I dig the pause filter of libmenu, I found there's some
inconstant behaviors when put same command squence with different time
interval.

Try your mplayer running with -slave, copy and paste the following
comand squence between two equal lines (don't forget the \n after the
second command) into the stdin when mplayer is running to see what
happens:


=======================
pausing sub_select
pausing_toggle sub_select

=======================

or

=======================
pausing_toggle sub_select
pausing_toggle sub_select

=======================

All of above two cmd squence will make mplayer pause, instead of keep
running. When you input the two command sperately, everything is ok,
but if paste them together, bug is showing.

Here's the fix.

PS: Alban, any response to the property version of select sub by
source patch? http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2007-November/054683.html

-- 
Ulion
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pausing_toggle_fix.diff
Type: text/x-diff
Size: 520 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20071112/c30a32e6/attachment.diff>


More information about the MPlayer-dev-eng mailing list