[vlc-devel] commit: XCB-XVideo: give the real height, not the visible one ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Sep 20 17:32:51 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Sep 20 18:23:34 2009 +0300| [985aec707e724820c5bfee5ecad2b5e7374932cb] | committer: Rémi Denis-Courmont
XCB-XVideo: give the real height, not the visible one
That matters to planar formats.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=985aec707e724820c5bfee5ecad2b5e7374932cb
---
modules/video_output/xcb/xvideo.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/video_output/xcb/xvideo.c b/modules/video_output/xcb/xvideo.c
index 993ea79..36df393 100644
--- a/modules/video_output/xcb/xvideo.c
+++ b/modules/video_output/xcb/xvideo.c
@@ -614,7 +614,7 @@ static void Display (vout_display_t *vd, picture_t *pic)
vd->source.i_visible_height,
/* Dst: */ 0, 0, p_sys->width, p_sys->height,
/* Memory: */ pic->p->i_pitch / pic->p->i_pixel_pitch,
- pic->p->i_visible_lines, false);
+ pic->p->i_lines, false);
else
ck = xcb_xv_put_image_checked (p_sys->conn, p_sys->port, p_sys->window,
p_sys->gc, p_sys->id,
@@ -624,7 +624,7 @@ static void Display (vout_display_t *vd, picture_t *pic)
vd->source.i_visible_height,
0, 0, p_sys->width, p_sys->height,
pic->p->i_pitch / pic->p->i_pixel_pitch,
- pic->p->i_visible_lines,
+ pic->p->i_lines,
p_sys->data_size, pic->p->p_pixels);
/* Wait for reply. See x11.c for rationale. */
More information about the vlc-devel
mailing list