Revert "ffmpegenc: Also add FF_MIN_BUFFER_SIZE to video buffers too"
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 1 Oct 2009 15:03:33 +0000 (17:03 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 1 Oct 2009 15:03:33 +0000 (17:03 +0200)
This reverts commit 577525af3d492469edd54e1c86b4ba0bfc214048.

ext/ffmpeg/gstffmpegenc.c

index aa26b40..c8dc9eb 100644 (file)
@@ -643,8 +643,7 @@ static void
 ffmpegenc_setup_working_buf (GstFFMpegEnc * ffmpegenc)
 {
   guint wanted_size =
-      ffmpegenc->context->width * ffmpegenc->context->height * 6 +
-      FF_MIN_BUFFER_SIZE;
+      ffmpegenc->context->width * ffmpegenc->context->height * 6 + 200;
 
   /* Above is the buffer size used by ffmpeg/ffmpeg.c */