[xiph-commits] r17819 - trunk/theora/tests

giles at svn.xiph.org giles at svn.xiph.org
Tue Feb 8 17:30:11 PST 2011


Author: giles
Date: 2011-02-08 17:30:11 -0800 (Tue, 08 Feb 2011)
New Revision: 17819

Modified:
   trunk/theora/tests/noop.c
   trunk/theora/tests/noop_theora.c
Log:
Update the noop test programmes for the additional th_info validation
added in c17760.


Modified: trunk/theora/tests/noop.c
===================================================================
--- trunk/theora/tests/noop.c	2011-02-04 21:54:02 UTC (rev 17818)
+++ trunk/theora/tests/noop.c	2011-02-09 01:30:11 UTC (rev 17819)
@@ -66,6 +66,10 @@
   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)

Modified: trunk/theora/tests/noop_theora.c
===================================================================
--- trunk/theora/tests/noop_theora.c	2011-02-04 21:54:02 UTC (rev 17818)
+++ trunk/theora/tests/noop_theora.c	2011-02-09 01:30:11 UTC (rev 17819)
@@ -32,6 +32,10 @@
   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");



More information about the commits mailing list