diff options
author | Juan Linietsky <reduzio@gmail.com> | 2014-05-01 09:53:37 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2014-05-01 09:53:37 -0300 |
commit | 4dc4e96c8a4fb7e34ecae3a39ef0f3f3fb275e97 (patch) | |
tree | 73da4d4d6d0fa1b4c6761a63ac3674aead8b12e3 /platform/iphone/gl_view.mm | |
parent | 5ab65f0eadec6a67eda622787206a01c8af2cf7e (diff) | |
download | redot-engine-4dc4e96c8a4fb7e34ecae3a39ef0f3f3fb275e97.tar.gz |
-OpenSSL Fixes
Diffstat (limited to 'platform/iphone/gl_view.mm')
-rwxr-xr-x | platform/iphone/gl_view.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/iphone/gl_view.mm b/platform/iphone/gl_view.mm index b41957cab9..402c755094 100755 --- a/platform/iphone/gl_view.mm +++ b/platform/iphone/gl_view.mm @@ -86,8 +86,8 @@ bool _play_video(String p_path) { } bool _is_video_playing() { - NSInteger playback_state = _instance.moviePlayerController.playbackState; - return (playback_state == MPMoviePlaybackStatePlaying); + //NSInteger playback_state = _instance.moviePlayerController.playbackState; + return (_instance.moviePlayerController.playbackState == MPMoviePlaybackStatePlaying); } void _pause_video() { @@ -512,7 +512,7 @@ static void clear_touches() { name:MPMoviePlayerPlaybackDidFinishNotification object:player]; - _stop_video(); + [_instance.moviePlayerController.view removeFromSuperview]; } @end |