Fixed avfmediaplayersession.mm for OSX 10.10 Yosemite.
Implicit cast caused build to fail. Explicit cast builds fine. Task-number: QTBUG-41136 Change-Id: I0147c26a0f8b8198d6ed9944311547b81a50bccb Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
This commit is contained in:
committed by
Yoann Lopes
parent
55ce8ed072
commit
8d5114a630
@@ -295,7 +295,7 @@ static void *AVFMediaPlayerSessionObserverCurrentItemObservationContext = &AVFMe
|
|||||||
//AVPlayerItem "status" property value observer.
|
//AVPlayerItem "status" property value observer.
|
||||||
if (context == AVFMediaPlayerSessionObserverStatusObservationContext)
|
if (context == AVFMediaPlayerSessionObserverStatusObservationContext)
|
||||||
{
|
{
|
||||||
AVPlayerStatus status = [[change objectForKey:NSKeyValueChangeNewKey] integerValue];
|
AVPlayerStatus status = (AVPlayerStatus)[[change objectForKey:NSKeyValueChangeNewKey] integerValue];
|
||||||
switch (status)
|
switch (status)
|
||||||
{
|
{
|
||||||
//Indicates that the status of the player is not yet known because
|
//Indicates that the status of the player is not yet known because
|
||||||
|
|||||||
Reference in New Issue
Block a user