diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-04-29 13:51:33 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-04-29 13:56:34 +0100 |
commit | 2fd1a05ac50ac4ba7cf09225f9133a8141aef302 (patch) | |
tree | 67438a5fff99792e2e8c4e82a95e29e050bf85fb /src/sna/sna_video_overlay.c | |
parent | 41a573c15ca1a1e775a2060be117374a5bc6f9b9 (diff) |
sna/video: Initialise pitch before query
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_video_overlay.c')
-rw-r--r-- | src/sna/sna_video_overlay.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_video_overlay.c b/src/sna/sna_video_overlay.c index 72b290a5..e0af9191 100644 --- a/src/sna/sna_video_overlay.c +++ b/src/sna/sna_video_overlay.c @@ -642,6 +642,7 @@ sna_video_overlay_query(ClientPtr client, case FOURCC_XVMC: *h = (*h + 1) & ~1; sna_video_frame_init(video, format->id, *w, *h, &frame); + sna_video_frame_set_rotation(video, &frame, RR_Rotate_0); size = sizeof(uint32_t); if (pitches) { pitches[0] = frame.pitch[1]; |