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

Monty xiphmont at xiph.org
Sun Nov 11 13:10:49 PST 2001



xiphmont    01/11/11 13:10:49

  Modified:    .        x11.c
  Log:
  Although the video image pixmap is the same size as the video window,
  changed image write to write pixmap size, not window size 'just in
  case'.

Revision  Changes    Path
1.19      +4 -4      snatch/x11.c

Index: x11.c
===================================================================
RCS file: /usr/local/cvsroot/snatch/x11.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- x11.c	2001/11/11 21:08:36	1.18
+++ x11.c	2001/11/11 21:10:49	1.19
@@ -530,8 +530,8 @@
         int i,j,len;
         
         bigtime(&a,&b);
-	len=sprintf(cbuf,"VIDEO %ld %ld %d %d %ld:",a,b,video_width,
-		    video_height,n);
+	len=sprintf(cbuf,"VIDEO %ld %ld %d %d %ld:",a,b,image->width,
+		    image->height,n);
         gwrite(outfile_fd,cbuf,len);
         
         if(worksize<n){
@@ -758,8 +758,8 @@
         int i,j,len;
         
         bigtime(&a,&b);
-	len=sprintf(cbuf,"VIDEO %ld %ld %d %d %ld:",a,b,video_width,
-		    video_height,n);
+	len=sprintf(cbuf,"VIDEO %ld %ld %d %d %ld:",a,b,image->width,
+		    image->height,n);
         gwrite(outfile_fd,cbuf,len);
         
         if(worksize<n){

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