st/vdpau: Fix vlVdpVideoSurfaceSize for interlaced buffers
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user