summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulian Scheel <julian@jusst.de>2009-01-20 10:45:38 +0000
committerJulian Scheel <julian@jusst.de>2009-01-20 10:45:38 +0000
commita56dfc47addd295bd773ab3df9e64ddcc4224b6f (patch)
tree75018d8ea971634e9899c2cd75a2302c12ab12e6 /src
parent54951edd20fcf04d9a3b29bf8dd4ced15cdac08a (diff)
downloadxine-lib-a56dfc47addd295bd773ab3df9e64ddcc4224b6f.tar.gz
xine-lib-a56dfc47addd295bd773ab3df9e64ddcc4224b6f.tar.bz2
Disable deint for static images (ie dvd menus).
Diffstat (limited to 'src')
-rw-r--r--src/video_out/video_out_vdpau.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_out/video_out_vdpau.c b/src/video_out/video_out_vdpau.c
index e85e31545..a72b85674 100644
--- a/src/video_out/video_out_vdpau.c
+++ b/src/video_out/video_out_vdpau.c
@@ -1234,7 +1234,7 @@ static void vdpau_display_frame (vo_driver_t *this_gen, vo_frame_t *frame_gen)
}
int non_progressive = (this->honor_progressive && !frame->vo_frame.progressive_frame) || !this->honor_progressive;
- if ( frame->vo_frame.duration>2500 && this->deinterlace && non_progressive && frame->format==XINE_IMGFMT_VDPAU ) {
+ if ( stream_speed && frame->vo_frame.duration>2500 && this->deinterlace && non_progressive && frame->format==XINE_IMGFMT_VDPAU ) {
VdpTime current_time = 0;
VdpVideoSurface past[2];
VdpVideoSurface future[1];