]> git.sesse.net Git - nageru/blobdiff - nageru/video_encoder.cpp
Remove the QCustomPlot dependency.
[nageru] / nageru / video_encoder.cpp
index 3342cfb0c21b9d460c209067312029a1a83b78d4..877cbffe0521680fa8ecd71dcb3c55458039c296 100644 (file)
@@ -213,9 +213,7 @@ void VideoEncoder::open_output_stream()
        avctx->pb->ignore_boundary_point = 1;
 
        Mux::Codec video_codec;
-       if (global_flags.uncompressed_video_to_http) {
-               video_codec = Mux::CODEC_NV12;
-       } else if (global_flags.av1_video_to_http) {
+       if (global_flags.av1_video_to_http) {
                video_codec = Mux::CODEC_AV1;
        } else {
                video_codec = Mux::CODEC_H264;
@@ -224,7 +222,7 @@ void VideoEncoder::open_output_stream()
        avctx->flags = AVFMT_FLAG_CUSTOM_IO;
 
        string video_extradata;
-       if (global_flags.x264_video_to_http || global_flags.x264_video_to_disk) {
+       if (global_flags.x264_video_to_http) {
                video_extradata = x264_encoder->get_global_headers();
 #ifdef HAVE_AV1
        } else if (global_flags.av1_video_to_http) {