From: Younes Manton Date: Sat, 4 Oct 2008 19:38:12 +0000 (-0400) Subject: g3dvl: Bad test, use proper picture height. X-Git-Tag: 062012170305~17580^2~496^2~298^2~7^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e52630e296807282592a50a3a4c7a9b50a56adb0;p=profile%2Fivi%2Fmesa.git g3dvl: Bad test, use proper picture height. --- diff --git a/src/libXvMC/tests/xvmc_bench.c b/src/libXvMC/tests/xvmc_bench.c index 16f6c21..d5a39ec 100644 --- a/src/libXvMC/tests/xvmc_bench.c +++ b/src/libXvMC/tests/xvmc_bench.c @@ -197,7 +197,7 @@ int main(int argc, char **argv) root = XDefaultRootWindow(display); window = XCreateSimpleWindow(display, root, 0, 0, config.output_width, config.output_height, 0, 0, colorkey); - assert(XvMCCreateContext(display, port_num, surface_type_id, config.input_width, config.input_width, XVMC_DIRECT, &context) == Success); + assert(XvMCCreateContext(display, port_num, surface_type_id, config.input_width, config.input_height, XVMC_DIRECT, &context) == Success); assert(XvMCCreateSurface(display, &context, &surface) == Success); assert(XvMCCreateBlocks(display, &context, mbw * mbh * BLOCKS_PER_MACROBLOCK, &block_array) == Success); assert(XvMCCreateMacroBlocks(display, &context, mbw * mbh, &mb_array) == Success);