diff options
author | Maarten Lankhorst <[email protected]> | 2012-11-17 13:22:39 +0100 |
---|---|---|
committer | Maarten Lankhorst <[email protected]> | 2012-11-17 13:25:08 +0100 |
commit | c64adedc5f85f46276f4a1ccd81a82304b7e341d (patch) | |
tree | c58d8549ca14d6d29c0365fa90917a5b51b8763d /src/gallium | |
parent | a204e2649545a063b288badd57fd94a286971a1e (diff) |
st/vdpau: Fix vlVdpVideoSurfaceSize for interlaced buffers
Signed-off-by: Maarten Lankhorst <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/state_trackers/vdpau/surface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/vdpau/surface.c b/src/gallium/state_trackers/vdpau/surface.c index bcc33c0f9b0..c987979f1f4 100644 --- a/src/gallium/state_trackers/vdpau/surface.c +++ b/src/gallium/state_trackers/vdpau/surface.c @@ -178,9 +178,9 @@ vlVdpVideoSurfaceSize(vlVdpSurface *p_surf, int component, } else if (p_surf->templat.chroma_format == PIPE_VIDEO_CHROMA_FORMAT_422) { *height /= 2; } - if (p_surf->templat.interlaced) - *height /= 2; } + if (p_surf->templat.interlaced) + *height /= 2; } /** |