Skip to content

Commit

Permalink
w
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Nov 1, 2024
1 parent 084c823 commit 64aed1a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions highgui/src/videowriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ class VideoWriterImpl
VideoWriterImpl::VideoWriterImpl()
{
is_opened = false;
width = 640;
height = 480;
fps = 30;
width = 0;
height = 0;
fps = 0;
}

VideoWriter::VideoWriter() : d(new VideoWriterImpl)
Expand Down Expand Up @@ -106,9 +106,9 @@ void VideoWriter::release()
}

d->is_opened = false;
d->width = 640;
d->height = 480;
d->fps = 30;
d->width = 0;
d->height = 0;
d->fps = 0;
}

VideoWriter& VideoWriter::operator<<(const Mat& image)
Expand Down

0 comments on commit 64aed1a

Please sign in to comment.