Skip to content

Commit 69b9fd3

Browse files
committed
同步参数
1 parent 36573af commit 69b9fd3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

glffmpeg/glffmpeg.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ class ffmpegHelper
228228
m_codecContext->pix_fmt = AV_PIX_FMT_YUV420P;
229229
m_codecContext->width = m_width;
230230
m_codecContext->height = m_height;
231+
m_codecContext->bit_rate = 7500000;
231232

232233
// If Mpeg1 then set macro block decision mode to rate distortion mode
233234
if (m_codecParams->codec_id == AV_CODEC_ID_MPEG1VIDEO)

0 commit comments

Comments
 (0)