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

Monty xiphmont at xiph.org
Mon Nov 5 08:58:04 PST 2001



xiphmont    01/11/05 08:58:03

  Modified:    .        x11.c
  Log:
  staying up to date

Revision  Changes    Path
1.9       +3 -5      snatch/x11.c

Index: x11.c
===================================================================
RCS file: /usr/local/cvsroot/snatch/x11.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- x11.c	2001/11/05 09:30:52	1.8
+++ x11.c	2001/11/05 16:58:03	1.9
@@ -193,7 +193,7 @@
               "    ...: RealPlayer X setup\n"
               "           window id base = %lx\n"
               "           window id mask = %lx\n"
-	      "           server image endianness = %s\n",
+	      "           server image endianness = %s\n"
               "           client endianness = %s\n",
               window_id_base,window_id_mask,
               (bigendian_p?"big":"small"),
@@ -413,6 +413,7 @@
         }
         if(testmask==0x8){ /* height */
           rpplay_height=val;
+	  logo_y=-1;
         }
         count+=4;
       }
@@ -604,15 +605,12 @@
 
     /* after a resize, look where to put the logo... */
     if(x==0 && y<rpplay_height/2 && width==rpplay_width){
-      if(y<=logo_prev)
-	logo_y=-1;
-
       if(logo_y==-1){
         /* look for the real logo in the data; it's in the middle of the
            big black block */
         int test;
         
-      fprintf(stderr,"searching for logo...\n");
+	fprintf(stderr,"searching for logo...\n");
         for(test=play_blackupper;test<height+y;test++)
           if(test>=y)
             if(ptr[(test-y)*width*4+(width/2*4)+1]!=0)break;

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