mirror of https://github.com/mpv-player/mpv
10l fix by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9904 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
42998b0974
commit
23e0f24f27
|
@ -85,10 +85,12 @@ static int cmd_filter(mp_cmd_t* cmd, int paused, struct vf_priv_s * priv) {
|
||||||
|
|
||||||
switch(cmd->id) {
|
switch(cmd->id) {
|
||||||
case MP_CMD_PAUSE :
|
case MP_CMD_PAUSE :
|
||||||
|
#if 0 // http://mplayerhq.hu/pipermail/mplayer-dev-eng/2003-March/017331.html
|
||||||
if(!paused && !go2pause) { // Initial pause cmd -> wait the next put_image
|
if(!paused && !go2pause) { // Initial pause cmd -> wait the next put_image
|
||||||
go2pause = 1;
|
go2pause = 1;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
if(go2pause == 2) // Msg resent by put_image after saving the image
|
if(go2pause == 2) // Msg resent by put_image after saving the image
|
||||||
go2pause = 0;
|
go2pause = 0;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue