This repository was archived by the owner on Feb 22, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
packages/video_player/video_player_avfoundation/example/ios/RunnerTests Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 11
11
12
12
@interface FLTVideoPlayer : NSObject <FlutterStreamHandler>
13
13
@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.
19
14
@property (readonly , nonatomic ) AVPlayerLayer *playerLayer;
20
15
@end
21
16
@@ -67,7 +62,7 @@ @interface VideoPlayerTests : XCTestCase
67
62
68
63
@implementation VideoPlayerTests
69
64
70
- - (void )testIOS16BugWithEncryptedVideoStream {
65
+ - (void )testBlankVideoBugWithEncryptedVideoStreamAndInvertedAspectRatioBugForSomeVideoStream {
71
66
// This is to fix 2 bugs: 1. blank video for encrypted video streams on iOS 16
72
67
// (https://github.com/flutter/flutter/issues/111457) and 2. swapped width and height for some
73
68
// video streams (not just iOS 16). (https://github.com/flutter/flutter/issues/109116). An
You can’t perform that action at this time.
0 commit comments