mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
Backported AVFoundation fixes from master branch
This commit is contained in:
@@ -35,7 +35,7 @@ TEST(Videoio_MFX, write_invalid)
|
||||
ASSERT_NO_THROW(res = writer.open(String(), CAP_INTEL_MFX, VideoWriter::fourcc('H', '2', '6', '4'), 1, Size(640, 480), true));
|
||||
EXPECT_FALSE(res);
|
||||
EXPECT_FALSE(writer.isOpened());
|
||||
ASSERT_ANY_THROW(res = writer.open(filename, CAP_INTEL_MFX, VideoWriter::fourcc('H', '2', '6', '4'), 0, Size(640, 480), true));
|
||||
ASSERT_NO_THROW(res = writer.open(filename, CAP_INTEL_MFX, VideoWriter::fourcc('H', '2', '6', '4'), 0, Size(640, 480), true));
|
||||
EXPECT_FALSE(res);
|
||||
EXPECT_FALSE(writer.isOpened());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user