diff --git a/src/osx/cocoa/mediactrl.mm b/src/osx/cocoa/mediactrl.mm index e3486a8117..10c5e2e541 100644 --- a/src/osx/cocoa/mediactrl.mm +++ b/src/osx/cocoa/mediactrl.mm @@ -162,7 +162,7 @@ private: id val = [change objectForKey:NSKeyValueChangeNewKey]; if ( val != [NSNull null ] ) { - AVPlayerStatus status = (AVPlayerStatus) [ val integerValue]; + AVPlayerItemStatus status = (AVPlayerItemStatus) [ val integerValue]; switch (status) {