[xiph-cvs] cvs commit: theora/examples splayer.c
Ralph Giles
giles at xiph.org
Sat Mar 13 12:43:21 PST 2004
giles 04/03/13 15:43:21
Modified: examples splayer.c
Log:
Remove some debug printfs.
Revision Changes Path
1.15 +2 -7 theora/examples/splayer.c
Index: splayer.c
===================================================================
RCS file: /usr/local/cvsroot/theora/examples/splayer.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- a/splayer.c 13 Mar 2004 19:53:38 -0000 1.14
+++ b/splayer.c 13 Mar 2004 20:43:21 -0000 1.15
@@ -1034,14 +1034,9 @@
/* if we're set for the next frame, sleep */
if((!theora_p || videobuf_ready) &&
(!vorbis_p || audiobuf_ready)){
- double now = get_time();
- int ticks = 1.0e3*(videobuf_time-now);
- fprintf(stderr, "delay ticks %d from %f - %f = %f\n",
- ticks, videobuf_time, now, videobuf_time-now);
- if(ticks>0){
- fprintf(stderr, " Calling SDL_Delay(%d)\n", ticks);
+ int ticks = 1.0e3*(videobuf_time-get_time());
+ if(ticks>0)
SDL_Delay(ticks);
- }
}
if(videobuf_ready){
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list