Skip to content

Commit

Permalink
remove not needed settings
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnut committed Oct 26, 2024
1 parent 6b35ba2 commit 1ec1b8b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/recorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ bool Recorder::init(const RenderSettings& settings) {
m_codecContext->width = settings.m_width;
m_codecContext->height = settings.m_height;
m_codecContext->time_base = AVRational(1, settings.m_fps);
m_codecContext->gop_size = 10;
m_codecContext->max_b_frames = 1;
m_codecContext->pix_fmt = AV_PIX_FMT_NONE;
m_videoStream->time_base = m_codecContext->time_base;

Expand Down

0 comments on commit 1ec1b8b

Please sign in to comment.