mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-16 04:15:51 +00:00
Revert "ffmpegenc: Also add FF_MIN_BUFFER_SIZE to video buffers too"
This reverts commit 577525af3d
.
This commit is contained in:
parent
577525af3d
commit
799b19c2f2
1 changed files with 1 additions and 2 deletions
|
@ -643,8 +643,7 @@ static void
|
||||||
ffmpegenc_setup_working_buf (GstFFMpegEnc * ffmpegenc)
|
ffmpegenc_setup_working_buf (GstFFMpegEnc * ffmpegenc)
|
||||||
{
|
{
|
||||||
guint wanted_size =
|
guint wanted_size =
|
||||||
ffmpegenc->context->width * ffmpegenc->context->height * 6 +
|
ffmpegenc->context->width * ffmpegenc->context->height * 6 + 200;
|
||||||
FF_MIN_BUFFER_SIZE;
|
|
||||||
|
|
||||||
/* Above is the buffer size used by ffmpeg/ffmpeg.c */
|
/* Above is the buffer size used by ffmpeg/ffmpeg.c */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue