Merge pull request #9326 from sovrasov:video_cap_new_check
This commit is contained in:
commit
80519a0278
@ -386,6 +386,8 @@ static CvVideoWriter* cvCreateVideoWriterWithPreference(const char* filename, in
|
||||
if(!fourcc || !fps)
|
||||
TRY_OPEN(result, cvCreateVideoWriter_Images(filename))
|
||||
|
||||
CV_Assert(result || fps != 0);
|
||||
|
||||
switch(apiPreference)
|
||||
{
|
||||
default:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user