Merge pull request #24759 from jubinchheda:4.x

Replace deprecated symbol with AVVideoCodecTypeH264 deprecated since ios11
pull/24767/head
Alexander Smorkalov 1 year ago committed by GitHub
commit bb5b5bb24d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules/videoio/src/cap_ios_video_camera.mm

@ -376,7 +376,7 @@ static CGFloat DegreesToRadians(CGFloat degrees) {return degrees * M_PI / 180;}
NSDictionary *outputSettings
= [NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithInt:self.imageWidth], AVVideoWidthKey,
[NSNumber numberWithInt:self.imageHeight], AVVideoHeightKey,
AVVideoCodecH264, AVVideoCodecKey,
AVVideoCodecTypeH264, AVVideoCodecKey,
nil
];

Loading…
Cancel
Save