X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fvideo_encoder.cpp;h=31c6b4d8e24834d960205a3790e8dcc02169d88f;hb=23a236b4b2c551376b90c31d9a6cf72025da368c;hp=3342cfb0c21b9d460c209067312029a1a83b78d4;hpb=8bb8bb7cc9700befab35a8cc2c4b7a88f0638af9;p=nageru diff --git a/nageru/video_encoder.cpp b/nageru/video_encoder.cpp index 3342cfb..31c6b4d 100644 --- a/nageru/video_encoder.cpp +++ b/nageru/video_encoder.cpp @@ -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) {