Commit 80519a02 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #9326 from sovrasov:video_cap_new_check

parents d743a4c9 651a1d28
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment