From 89a823ace9dbbb47cbea9b11756295c76fdc366e Mon Sep 17 00:00:00 2001 From: The makemkv authors Date: Sun, 30 Sep 2012 15:02:03 +0200 Subject: [PATCH] ffmpeg: disable buffering for stderr, needed for win32 runtime Found in http://www.makemkv.com/download/ffmpeg/mmffmpeg-1.7.7.patch.gz Commit message by commiter Signed-off-by: Michael Niedermayer --- ffmpeg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ffmpeg.c b/ffmpeg.c index 3eb15a6494..8a74ad1224 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -3120,6 +3120,8 @@ int main(int argc, char **argv) reset_options(&o, 0); + setvbuf(stderr,NULL,_IONBF,0); /* win32 runtime needs this */ + av_log_set_flags(AV_LOG_SKIP_REPEATED); parse_loglevel(argc, argv, options);