Skip to content

Commit 64aed1a

Browse files
committed
w
1 parent 084c823 commit 64aed1a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

highgui/src/videowriter.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ class VideoWriterImpl
4545
VideoWriterImpl::VideoWriterImpl()
4646
{
4747
is_opened = false;
48-
width = 640;
49-
height = 480;
50-
fps = 30;
48+
width = 0;
49+
height = 0;
50+
fps = 0;
5151
}
5252

5353
VideoWriter::VideoWriter() : d(new VideoWriterImpl)
@@ -106,9 +106,9 @@ void VideoWriter::release()
106106
}
107107

108108
d->is_opened = false;
109-
d->width = 640;
110-
d->height = 480;
111-
d->fps = 30;
109+
d->width = 0;
110+
d->height = 0;
111+
d->fps = 0;
112112
}
113113

114114
VideoWriter& VideoWriter::operator<<(const Mat& image)

0 commit comments

Comments
 (0)