]> git.sesse.net Git - nageru/blobdiff - nageru/kaeru.cpp
Remove the redundant with_audio parameter from the Mux constructor.
[nageru] / nageru / kaeru.cpp
index 5cd6d297d6759dfc3d8b19d96bc33d534a9c5d7e..9d9738391082a484cf3338361c2746aff1aa5ec7 100644 (file)
@@ -73,7 +73,7 @@ unique_ptr<Mux> create_mux(HTTPD *httpd, AVOutputFormat *oformat, X264Encoder *x
 
        unique_ptr<Mux> mux;
        mux.reset(new Mux(avctx, global_flags.width, global_flags.height, Mux::CODEC_H264, video_extradata, audio_encoder->get_codec_parameters().get(),
-               get_color_space(global_flags.ycbcr_rec709_coefficients), Mux::WITH_AUDIO, COARSE_TIMEBASE,
+               get_color_space(global_flags.ycbcr_rec709_coefficients), COARSE_TIMEBASE,
                /*write_callback=*/nullptr, Mux::WRITE_FOREGROUND, { &stream_mux_metrics }));
        stream_mux_metrics.init({{ "destination", "http" }});
        return mux;