From: Steinar H. Gunderson Date: Tue, 5 Apr 2016 16:56:43 +0000 (+0200) Subject: Fix video in saved files. X-Git-Tag: 1.2.0~5 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;ds=sidebyside;h=0796ad175d0d74291f83f96e3fb244619747aa29;p=nageru Fix video in saved files. --- 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()