X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=x264_encoder.cpp;h=90b61ed4769a172c2e0df61e5a616d7e1b167ad6;hb=5e4d7389b8c8375593d73557e829c0f10ee671dc;hp=e32fcacf7bc12db1929613d191c4165208aed44e;hpb=35b405f813c4fd4eccf67eb95dce877c9e288421;p=nageru diff --git a/x264_encoder.cpp b/x264_encoder.cpp index e32fcac..90b61ed 100644 --- a/x264_encoder.cpp +++ b/x264_encoder.cpp @@ -66,7 +66,7 @@ X264Encoder::X264Encoder(AVOutputFormat *oformat) : wants_global_headers(oformat->flags & AVFMT_GLOBALHEADER), dyn(load_x264_for_bit_depth(global_flags.x264_bit_depth)) { - call_once(x264_metrics_inited, [&](){ + call_once(x264_metrics_inited, [](){ global_metrics.add("x264_queued_frames", &metric_x264_queued_frames, Metrics::TYPE_GAUGE); global_metrics.add("x264_max_queued_frames", &metric_x264_max_queued_frames, Metrics::TYPE_GAUGE); global_metrics.add("x264_dropped_frames", &metric_x264_dropped_frames);