[xiph-cvs] cvs commit: snatch libsnatch.c snatch.pl

Monty xiphmont at xiph.org
Sun Nov 11 14:27:04 PST 2001



xiphmont    01/11/11 14:27:03

  Modified:    .        libsnatch.c snatch.pl
  Log:
  timer bug fix (cosmetic), fake audio crash fix (on play stop)

Revision  Changes    Path
1.20      +1 -0      snatch/libsnatch.c

Index: libsnatch.c
===================================================================
RCS file: /usr/local/cvsroot/snatch/libsnatch.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- libsnatch.c	2001/11/11 21:50:57	1.19
+++ libsnatch.c	2001/11/11 22:27:03	1.20
@@ -294,6 +294,7 @@
       break;
     case 'V':
       fake_videop=0;
+      FakeExposeRPPlay();
       break;
     }
   }

1.28      +29 -27    snatch/snatch.pl

Index: snatch.pl
===================================================================
RCS file: /usr/local/cvsroot/snatch/snatch.pl,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- snatch.pl	2001/11/11 21:37:15	1.27
+++ snatch.pl	2001/11/11 22:27:03	1.28
@@ -678,35 +678,37 @@
             Robot_Inactive();
         }else{
             
-	    SetupTimerDispatch() if($now>=$next_timer_event);
-
-	    my$waiting_seconds=$next_timer_event-$now;
-	    
-	    my$waiting_minutes=int($waiting_seconds/60);
-	    $waiting_seconds-=$waiting_minutes*60;
-	    
-	    my$waiting_hours=int($waiting_minutes/60);
-	    $waiting_minutes-=$waiting_hours*60;
-	    
-	    my$waiting_days=int($waiting_hours/24);
-	    $waiting_hours-=$waiting_days*24;
-	    my$prompt;
-	    
-	    if($waiting_days){
-		$prompt=$waiting_days."d $waiting_hours:$waiting_minutes";
-	    }elsif($waiting_hours){
-		$prompt=$waiting_days."$waiting_hours:$waiting_minutes";
+	    if($now>=$next_timer_event){
+		SetupTimerDispatch() ;
             }else{
-		$prompt=$waiting_minutes."m ".$waiting_seconds."s";
-	    }
-	    
-	    if($recording_active){
-		Status("Timer recording [$prompt]");
-	    }else{
-		if($recording_pending){
-		    Status("Starting record...");
+		my$waiting_seconds=$next_timer_event-$now;
+		
+		my$waiting_minutes=int($waiting_seconds/60);
+		$waiting_seconds-=$waiting_minutes*60;
+		
+		my$waiting_hours=int($waiting_minutes/60);
+		$waiting_minutes-=$waiting_hours*60;
+		
+		my$waiting_days=int($waiting_hours/24);
+		$waiting_hours-=$waiting_days*24;
+		my$prompt;
+		
+		if($waiting_days){
+		    $prompt=$waiting_days."d $waiting_hours:$waiting_minutes";
+		}elsif($waiting_hours){
+		    $prompt=$waiting_days."$waiting_hours:$waiting_minutes";
+		}else{
+		    $prompt=$waiting_minutes."m ".$waiting_seconds."s";
+		}
+		
+		if($recording_active){
+		    Status("Timer recording [$prompt]");
                 }else{
-		    Status("Timer wait [$prompt]");
+		    if($recording_pending){
+			Status("Starting record...");
+		    }else{
+			Status("Timer wait [$prompt]");
+		    }
                 }
             }
         }

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