summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Auras <yak54@inkennet.de>2012-01-12 00:27:18 +0100
committerAndreas Auras <yak54@inkennet.de>2012-01-12 00:27:18 +0100
commit58f0bc6a2f2d215efcbdd598b4a56cdf78442a7d (patch)
tree667b803f8f1f8c2bdf5203004c9f25929ba91792
parentbc6e0cdc7ad034db22b18f3d7dd4b3e156b46ea4 (diff)
downloadxine-lib-58f0bc6a2f2d215efcbdd598b4a56cdf78442a7d.tar.gz
xine-lib-58f0bc6a2f2d215efcbdd598b4a56cdf78442a7d.tar.bz2
Fixed usage of wrong variables to determine current gui output window size for grab feature of vdpau output driver
Fixed usage of wrong variables to determine current gui output window size for grab feature of vdpau output driver --HG-- extra : rebase_source : f605be7e19142756f3ab388e558d8e65e3ddba5d
-rw-r--r--src/video_out/video_out_vdpau.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_out/video_out_vdpau.c b/src/video_out/video_out_vdpau.c
index 7d92302c2..b7ab08e04 100644
--- a/src/video_out/video_out_vdpau.c
+++ b/src/video_out/video_out_vdpau.c
@@ -1601,8 +1601,8 @@ static void vdpau_grab_current_output_surface (vdpau_driver_t *this, int64_t vpt
frame->grab_frame.vpts = -1;
VdpOutputSurface grab_surface = this->output_surface[this->current_output_surface];
- int width = this->output_surface_width[this->current_output_surface];
- int height = this->output_surface_height[this->current_output_surface];
+ int width = this->sc.gui_width;
+ int height = this->sc.gui_height;
/* take cropping parameters into account */
width = width - frame->grab_frame.crop_left - frame->grab_frame.crop_right;