1
mirror of https://github.com/mpv-player/mpv synced 2024-09-05 02:48:21 +02:00

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:
alex 2003-04-10 15:07:59 +00:00
parent 42998b0974
commit 23e0f24f27

View File

@ -85,10 +85,12 @@ static int cmd_filter(mp_cmd_t* cmd, int paused, struct vf_priv_s * priv) {
switch(cmd->id) {
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
go2pause = 1;
return 1;
}
#endif
if(go2pause == 2) // Msg resent by put_image after saving the image
go2pause = 0;
break;