]> git.sesse.net Git - nageru/commitdiff
Fix video in saved files.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 5 Apr 2016 16:56:43 +0000 (18:56 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 5 Apr 2016 16:56:43 +0000 (18:56 +0200)
httpd.cpp

index d9bc022bc9029844936b9a0a65490571a9ef7482..70ebaef87b00981209d2f8f5c1dc1f1fa7337d24 100644 (file)
--- 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()