changeset 36207:658a648d3301

Handle expose event also when not paused and do not draw frame twice in case of redraw events.
author reimar
date Thu, 06 Jun 2013 13:06:35 +0000
parents 7227ed885f0c
children 363dce384fba
files libvo/vo_vdpau.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 */