From 563d807a24d9e8a34af4c6a52aecb21f8c4661a5 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Mon, 17 May 2010 18:09:37 +0200 Subject: [PATCH] Revert "Enable O_DIRECT by default" This reverts commit 616e23d20d1958157405433ea349c31ea4e920b7. --- src/recorder/ffmpeg.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/recorder/ffmpeg.c b/src/recorder/ffmpeg.c index f0ace22..3a7f86a 100644 --- a/src/recorder/ffmpeg.c +++ b/src/recorder/ffmpeg.c @@ -3506,7 +3506,6 @@ static void opt_output_file(const char *filename) } /* open the file */ - o_direct = 1; if (url_fopen(&oc->pb, filename, o_direct ? URL_RDWR|URL_DIRECT : URL_WRONLY) < 0) { fprintf(stderr, "Could not open '%s'\n", filename); av_exit(1); -- 2.39.2