Marek Kotewicz
10 years ago
2 changed files with 19 additions and 7 deletions
@ -0,0 +1,11 @@ |
|||||
|
--- avfmediaplayersession.mm 2014-09-11 12:48:26.000000000 +0200
|
||||
|
+++ avfmediaplayersessionPatch.mm 2014-12-01 12:53:14.000000000 +0100
|
||||
|
@@ -295,7 +295,7 @@
|
||||
|
//AVPlayerItem "status" property value observer. |
||||
|
if (context == AVFMediaPlayerSessionObserverStatusObservationContext) |
||||
|
{ |
||||
|
- AVPlayerStatus status = [[change objectForKey:NSKeyValueChangeNewKey] integerValue];
|
||||
|
+ AVPlayerStatus status = (AVPlayerStatus)[[change objectForKey:NSKeyValueChangeNewKey] integerValue];
|
||||
|
switch (status) |
||||
|
{ |
||||
|
//Indicates that the status of the player is not yet known because |
Loading…
Reference in new issue