From 0796ad175d0d74291f83f96e3fb244619747aa29 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Tue, 5 Apr 2016 18:56:43 +0200 Subject: [PATCH] Fix video in saved files. --- httpd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpd.cpp b/httpd.cpp index d9bc022..70ebaef 100644 --- a/httpd.cpp +++ b/httpd.cpp @@ -70,7 +70,7 @@ void HTTPD::open_output_file(const string &filename) exit(1); } - file_mux.reset(new Mux(avctx, width, height, Mux::CODEC_NV12)); + file_mux.reset(new Mux(avctx, width, height, Mux::CODEC_H264)); } void HTTPD::close_output_file() -- 2.39.2