Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit f30a7b1

Browse files
committed
address comment
1 parent 28bc108 commit f30a7b1

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

packages/video_player/video_player_avfoundation/example/ios/RunnerTests/VideoPlayerTests.m

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@
1111

1212
@interface FLTVideoPlayer : NSObject <FlutterStreamHandler>
1313
@property(readonly, nonatomic) AVPlayer *player;
14-
// This is to fix 2 bugs: 1. blank video for encrypted video streams on iOS 16
15-
// (https://github.com/flutter/flutter/issues/111457) and 2. swapped width and height for some video
16-
// streams (not just iOS 16). (https://github.com/flutter/flutter/issues/109116).
17-
// An invisible AVPlayerLayer is used to overwrite the protection of pixel buffers in those streams
18-
// for issue #1, and restore the correct width and height for issue #2.
1914
@property(readonly, nonatomic) AVPlayerLayer *playerLayer;
2015
@end
2116

@@ -67,7 +62,7 @@ @interface VideoPlayerTests : XCTestCase
6762

6863
@implementation VideoPlayerTests
6964

70-
- (void)testIOS16BugWithEncryptedVideoStream {
65+
- (void)testBlankVideoBugWithEncryptedVideoStreamAndInvertedAspectRatioBugForSomeVideoStream {
7166
// This is to fix 2 bugs: 1. blank video for encrypted video streams on iOS 16
7267
// (https://github.com/flutter/flutter/issues/111457) and 2. swapped width and height for some
7368
// video streams (not just iOS 16). (https://github.com/flutter/flutter/issues/109116). An

0 commit comments

Comments
 (0)