[PATCH] Fix pausing_toggle not toggle bug when just paused
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.htm... -- Ulion
2007/11/12, Ulion <ulion2002@gmail.com>:
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.htm...
If no object, I will commit this after 4 days. -- Ulion
2007/11/13, Ulion <ulion2002@gmail.com>:
2007/11/12, Ulion <ulion2002@gmail.com>:
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.htm...
If no object, I will commit this after 4 days.
Done. Beat me if I wrong. -- Ulion
participants (1)
-
Ulion