We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e03e94 commit 6ca46a1Copy full SHA for 6ca46a1
1 file changed
src/recorder.cpp
@@ -73,7 +73,7 @@ bool Recorder::init(const RenderSettings& settings) {
73
m_codecContext->bit_rate = settings.m_bitrate;
74
m_codecContext->width = settings.m_width;
75
m_codecContext->height = settings.m_height;
76
- m_codecContext->time_base = AVRational(1, settings.m_fps);
+ m_codecContext->time_base = AVRational{1, settings.m_fps};
77
m_codecContext->pix_fmt = AV_PIX_FMT_NONE;
78
m_videoStream->time_base = m_codecContext->time_base;
79
@@ -218,4 +218,4 @@ void Recorder::stop() {
218
delete m_packet;
219
}
220
221
-}
+}
0 commit comments