Stop play when changing file
This commit is contained in:
parent
41098d6d2d
commit
190e18358d
|
@ -3,7 +3,7 @@
|
|||
// Medianno
|
||||
//
|
||||
// Created by Matthias Neeracher on 8/10/11.
|
||||
// Copyright 2011 Matthias Neeracher. All rights reserved.
|
||||
// Copyright 2011-2023 Matthias Neeracher. All rights reserved.
|
||||
//
|
||||
|
||||
#import "MADocWindow.h"
|
||||
|
@ -91,6 +91,7 @@ static const char * kMADocWindowObserver = "MADocWindowObserver";
|
|||
//
|
||||
[self willChangeValueForKey:@"currentMovie"];
|
||||
if (currentMovieTimeObserver) {
|
||||
[currentMovie pause];
|
||||
[currentMovie removeTimeObserver:currentMovieTimeObserver];
|
||||
currentMovieTimeObserver = nil;
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// Medianno
|
||||
//
|
||||
// Created by Matthias Neeracher on 8/15/11.
|
||||
// Copyright 2011 Matthias Neeracher. All rights reserved.
|
||||
// Copyright 2011-2023 Matthias Neeracher. All rights reserved.
|
||||
//
|
||||
|
||||
#import "MAShortenQTTime.h"
|
||||
|
|
Loading…
Reference in New Issue
Block a user