Show
Ignore:
Timestamp:
02/23/10 16:48:16 (2 years ago)
Author:
gbooker
Message:

Made DVD Player stop if it's not playing for 5 minutes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/PlayerFramework/CommonMediaPlayer/Media Players/DVD Framework/CMPDVDPlayerController.m

    r1151 r1163  
    8383        { 
    8484//              [layer setOpaque:NO]; 
    85                 NSLog(@"Layer is %@ with %d children", layer, [[layer sublayers] count]); 
     85                //NSLog(@"Layer is %@ with %d children", layer, [[layer sublayers] count]); 
    8686                id superlayer = [layer superlayer]; 
    8787                //              if(count < 6) 
    8888//              [layer setOpacity:opacity]; 
    8989                [layer setBackgroundColor:clear]; 
    90                 NSLog(@"Set opacity of %d layer", count); 
     90                //NSLog(@"Set opacity of %d layer", count); 
    9191                layer = superlayer; 
    9292                count++; 
     
    243243                return; 
    244244        CGSGetWindowBounds(cid, dvdWindow, &bounds); 
    245         NSLog(@"Bounds is %fx%f - %fx%f", bounds.origin.x, bounds.origin.y, bounds.size.width, bounds.size.height); 
     245        //NSLog(@"Bounds is %fx%f - %fx%f", bounds.origin.x, bounds.origin.y, bounds.size.width, bounds.size.height); 
    246246//      CGLGetCurrentContext() 
    247247        char *bitmap = malloc(bounds.size.width *bounds.size.height * 4); 
     
    485485- (BOOL)brEventAction:(BREvent *)event 
    486486{ 
    487         NSLog(@"Got event %@", event); 
     487        //NSLog(@"Got event %@", event); 
    488488        BREventRemoteAction action = [CMPATVVersion remoteActionForEvent:event]; 
    489489        if(![player playing]) 
     
    495495        BOOL inMenu = [player inMenu]; 
    496496        CMPDVDState state = [player state]; 
    497         NSLog(@"State is %d and doing %d", state, action); 
     497        //NSLog(@"State is %d and doing %d", state, action); 
    498498        BOOL playingInSomeForm = (state == CMPDVDStatePlaying || state == CMPDVDStateScanningForward || state == CMPDVDStateScanningBackward || state == CMPDVDStatePlayingSlowForward || state == CMPDVDStatePlayingSlowBackward); 
    499499        BOOL supressStateDisplay = inMenu;