Skip to content

Commit

Permalink
ijkplayer-ios: support IJKSDLGLViewProtocol snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
raymond1012 committed Dec 14, 2017
1 parent 23b3344 commit 0c705c6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -750,8 +750,8 @@ - (UIImage *)thumbnailImageAtTime:(NSTimeInterval)playbackTime timeOption:(IJKMP

- (UIImage *)thumbnailImageAtCurrentTime
{
if ([_view isKindOfClass:[IJKSDLGLView class]]) {
IJKSDLGLView *glView = (IJKSDLGLView *)_view;
if ([_view conformsToProtocol:@protocol(IJKSDLGLViewProtocol)]) {
id<IJKSDLGLViewProtocol> glView = (id<IJKSDLGLViewProtocol>)_view;
return [glView snapshot];
}

Expand Down

0 comments on commit 0c705c6

Please sign in to comment.