Changeset 712
- Timestamp:
- 12/08/08 22:35:53 (1 month ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/SapphireFrappliance/SapphireVideoPlayerController.m
r693 r712 209 209 } 210 210 211 - (void)wasPopped 212 { 213 [super wasPopped]; 211 - (void)teardownPlayback 212 { 214 213 //Turn off the AC3 Passthrough hack 215 214 CFPreferencesSetAppValue(PASSTHROUGH_KEY, (CFNumberRef)[NSNumber numberWithInt:((soundState & SOUND_STATE_SOUND_PASSTHROUGH)? 1 : 0)], A52_DOMIAN); … … 225 224 elapsed = duration = 1.0f; 226 225 if(elapsed / duration > 0.9f) 227 /*Mark as watched and reload info*/226 /*Mark as watched and reload info*/ 228 227 [currentPlayFile setWatched:YES]; 229 228 … … 236 235 } 237 236 237 - (void)willBePopped 238 { 239 [super willBePopped]; 240 [self teardownPlayback]; 241 } 242 243 - (void)wasPopped 244 { 245 [super wasPopped]; 246 [self teardownPlayback]; 247 } 248 238 249 @end
