diff options
author | Younes Manton <[email protected]> | 2008-10-04 15:38:12 -0400 |
---|---|---|
committer | Younes Manton <[email protected]> | 2008-10-17 17:31:26 -0400 |
commit | e52630e296807282592a50a3a4c7a9b50a56adb0 (patch) | |
tree | 7d7b0960ce19bc4bfe0d350b2416abd7dcdbc367 /src/libXvMC/tests | |
parent | af59f767a03da4dd434a6d655e3d0bc05feb298a (diff) |
g3dvl: Bad test, use proper picture height.
Diffstat (limited to 'src/libXvMC/tests')
-rw-r--r-- | src/libXvMC/tests/xvmc_bench.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libXvMC/tests/xvmc_bench.c b/src/libXvMC/tests/xvmc_bench.c index 16f6c21ae31..d5a39ecf17d 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); |