Skip to content
Snippets Groups Projects
Commit fcc3ddd7 authored by Ralph Giles's avatar Ralph Giles
Browse files

Update the noop test programmes for the additional th_info validation

added in c17760.

svn path=/trunk/theora/; revision=17819
parent e43cdc5f
No related branches found
No related tags found
No related merge requests found
......@@ -66,6 +66,10 @@ noop_test_encode ()
ti.frame_width = 16;
ti.frame_height = 16;
INFO ("+ Setting a 1:1 frame rate");
ti.fps_numerator = 1;
ti.fps_denominator = 1;
INFO ("+ Allocating encoder context");
te = th_encode_alloc(&ti);
if (te == NULL)
......
......@@ -32,6 +32,10 @@ noop_test_encode ()
ti.width = 16;
ti.height = 16;
INFO ("+ Setting a 1:1 frame rate");
ti.fps_numerator = 1;
ti.fps_denominator = 1;
INFO ("+ Initializing theora_state for encoding");
if (theora_encode_init (&th, &ti) != OC_DISABLED) {
INFO ("+ Clearing theora_state");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment