[xiph-commits] r17995 - trunk/theora/examples

tterribe at svn.xiph.org tterribe at svn.xiph.org
Fri May 20 15:08:35 PDT 2011


Author: tterribe
Date: 2011-05-20 15:08:35 -0700 (Fri, 20 May 2011)
New Revision: 17995

Modified:
   trunk/theora/examples/player_example.c
Log:
Revert player_example changes accidentally included in r17994.


Modified: trunk/theora/examples/player_example.c
===================================================================
--- trunk/theora/examples/player_example.c	2011-05-20 21:27:08 UTC (rev 17994)
+++ trunk/theora/examples/player_example.c	2011-05-20 22:08:35 UTC (rev 17995)
@@ -654,14 +654,14 @@
     th_decode_ctl(td,TH_DECCTL_SET_PPLEVEL,&pp_level,sizeof(pp_level));
     pp_inc=0;
 
-    {
+    /*{
       int arg = 0xffff;
       th_decode_ctl(td,TH_DECCTL_SET_TELEMETRY_MBMODE,&arg,sizeof(arg));
       th_decode_ctl(td,TH_DECCTL_SET_TELEMETRY_MV,&arg,sizeof(arg));
       th_decode_ctl(td,TH_DECCTL_SET_TELEMETRY_QI,&arg,sizeof(arg));
       arg=10;
       th_decode_ctl(td,TH_DECCTL_SET_TELEMETRY_BITS,&arg,sizeof(arg));
-    }
+    }*/
   }else{
     /* tear down the partial theora setup */
     th_info_clear(&ti);
@@ -766,8 +766,8 @@
              keyframing.  Soon enough libtheora will be able to deal
              with non-keyframe seeks.  */
 
+          if(videobuf_time>=get_time())
             videobuf_ready=1;
-          if(videobuf_time>=get_time());
           else{
             /*If we are too slow, reduce the pp level.*/
             pp_inc=pp_level>0?-1:0;



More information about the commits mailing list