# HG changeset patch # User reimar # Date 1370523995 0 # Node ID 658a648d3301189e0129a0e93ebe88b3d41ad725 # Parent 7227ed885f0c5f94b271a91579218f5066e668c2 Handle expose event also when not paused and do not draw frame twice in case of redraw events. diff -r 7227ed885f0c -r 658a648d3301 libvo/vo_vdpau.c --- a/libvo/vo_vdpau.c Thu Jun 06 13:05:16 2013 +0000 +++ b/libvo/vo_vdpau.c Thu Jun 06 13:06:35 2013 +0000 @@ -774,8 +774,7 @@ if (e & VO_EVENT_RESIZE) resize(); - - if ((e & VO_EVENT_EXPOSE || e & VO_EVENT_RESIZE) && int_pause) { + else if (e & VO_EVENT_EXPOSE) { /* did we already draw a buffer */ if (visible_buf) { /* redraw the last visible buffer */