Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Unified Diff: webrtc/modules/video_coding/codecs/test/stats.cc

Issue 1415693002: Remove VideoFrameType aliases for FrameType. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/video_coding/codecs/test/stats.cc
diff --git a/webrtc/modules/video_coding/codecs/test/stats.cc b/webrtc/modules/video_coding/codecs/test/stats.cc
index 91a2f3c5f41351f51fc846e6abae13fe96b0a3a4..f87407d2230eebfdc76aee0c12cbcdf3b9e9f6bf 100644
--- a/webrtc/modules/video_coding/codecs/test/stats.cc
+++ b/webrtc/modules/video_coding/codecs/test/stats.cc
@@ -32,7 +32,7 @@ FrameStatistic::FrameStatistic()
total_packets(0),
bit_rate_in_kbps(0),
encoded_frame_length_in_bytes(0),
- frame_type(kDeltaFrame) {}
+ frame_type(kVideoFrameDelta) {}
Stats::Stats() {}
@@ -83,7 +83,7 @@ void Stats::PrintSummary() {
total_encoding_time_in_us += it->encode_time_in_us;
total_decoding_time_in_us += it->decode_time_in_us;
total_encoded_frames_lengths += it->encoded_frame_length_in_bytes;
- if (it->frame_type == webrtc::kKeyFrame) {
+ if (it->frame_type == webrtc::kVideoFrameKey) {
total_encoded_key_frames_lengths += it->encoded_frame_length_in_bytes;
nbr_keyframes++;
} else {
« no previous file with comments | « webrtc/modules/video_coding/codecs/i420/i420.cc ('k') | webrtc/modules/video_coding/codecs/test/videoprocessor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698