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;
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) {