]> git.sesse.net Git - nageru/blobdiff - x264_encoder.h
Fix a crash with --record-x264-video when getting metrics.
[nageru] / x264_encoder.h
index 2f9c81c4f51e91748680bb8f84234b4f313414e1..7a155e341bd0e64b0f0153b8a2977058cd001bf3 100644 (file)
@@ -115,16 +115,6 @@ private:
 
        // Key is the pts of the frame.
        std::unordered_map<int64_t, ReceivedTimestamps> frames_being_encoded;
-
-       // Metrics.
-       std::atomic<int64_t> metric_x264_queued_frames{0};
-       std::atomic<int64_t> metric_x264_max_queued_frames{X264_QUEUE_LENGTH};
-       std::atomic<int64_t> metric_x264_dropped_frames{0};
-       std::atomic<int64_t> metric_x264_output_frames_i{0};
-       std::atomic<int64_t> metric_x264_output_frames_p{0};
-       std::atomic<int64_t> metric_x264_output_frames_b{0};
-       Histogram metric_x264_crf;
-       LatencyHistogram latency_histogram;
 };
 
 #endif  // !defined(_X264ENCODE_H)