[xiph-cvs] cvs commit: snatch x11.c

Monty xiphmont at xiph.org
Tue Nov 13 22:11:05 PST 2001



xiphmont    01/11/13 22:11:05

  Modified:    .        x11.c
  Log:
  Hm, a videocount delay of 5 really is necessary...

Revision  Changes    Path
1.23      +2 -2      snatch/x11.c

Index: x11.c
===================================================================
RCS file: /usr/local/cvsroot/snatch/x11.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- x11.c	2001/11/14 05:56:25	1.22
+++ x11.c	2001/11/14 06:11:04	1.23
@@ -521,7 +521,7 @@
     videocount++;
 
     pthread_mutex_lock(&output_mutex);
-    if(outfile_fd<0)OpenOutputFile();
+    if(outfile_fd<0 && videocount>5)OpenOutputFile();
     pthread_mutex_unlock(&output_mutex);
     /* only do 24 bit zPixmaps for now */
 
@@ -754,7 +754,7 @@
     videocount++;
 
     pthread_mutex_lock(&output_mutex);
-    if(outfile_fd<0)OpenOutputFile();
+    if(outfile_fd<0 && videocount>5)OpenOutputFile();
     pthread_mutex_unlock(&output_mutex);
 
     /* only do 24 bit zPixmaps for now */

--- >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