[xiph-cvs] cvs commit: theora/examples splayer.c
Ralph Giles
giles at xiph.org
Fri Mar 12 19:53:38 PST 2004
giles 04/03/12 22:53:38
Modified: examples splayer.c
Log:
Display frames with zero delay (like sometimes the first one). Before we
required them strictly in the future.
Revision Changes Path
1.13 +1 -1 theora/examples/splayer.c
Index: splayer.c
===================================================================
RCS file: /usr/local/cvsroot/theora/examples/splayer.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- a/splayer.c 13 Mar 2004 03:52:11 -0000 1.12
+++ b/splayer.c 13 Mar 2004 03:53:38 -0000 1.13
@@ -1021,7 +1021,7 @@
ones and keep looping, since theora at this stage
needs to decode all frames */
delay = videobuf_time-get_time();
- if(delay>0.0){
+ if(delay>=0.0){
/* got a good frame, not late, ready to break out */
videobuf_ready=1;
}else if(videobuf_time-lastframetime>=1.0){
<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