Skip to content

Commit 1ec1b8b

Browse files
committed
remove not needed settings
1 parent 6b35ba2 commit 1ec1b8b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/recorder.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ bool Recorder::init(const RenderSettings& settings) {
7474
m_codecContext->width = settings.m_width;
7575
m_codecContext->height = settings.m_height;
7676
m_codecContext->time_base = AVRational(1, settings.m_fps);
77-
m_codecContext->gop_size = 10;
78-
m_codecContext->max_b_frames = 1;
7977
m_codecContext->pix_fmt = AV_PIX_FMT_NONE;
8078
m_videoStream->time_base = m_codecContext->time_base;
8179

0 commit comments

Comments
 (0)