]> git.sesse.net Git - nageru/blobdiff - nageru/video_encoder.cpp
Support --record-x264-video with AV1 HTTP output.
[nageru] / nageru / video_encoder.cpp
index 3342cfb0c21b9d460c209067312029a1a83b78d4..31c6b4d8e24834d960205a3790e8dcc02169d88f 100644 (file)
@@ -224,7 +224,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) {