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

Unified Diff: webrtc/modules/video_coding/utility/ivf_file_writer.cc

Issue 1955273002: Fix codec name logging in ivf_file_writer.cc (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/video_coding/utility/ivf_file_writer.cc
diff --git a/webrtc/modules/video_coding/utility/ivf_file_writer.cc b/webrtc/modules/video_coding/utility/ivf_file_writer.cc
index a3b680d72cacda1ce96cecc8ac663f984d875091..97f1da30e40a1b7fe7b8ad07fd4bd1c684c835b6 100644
--- a/webrtc/modules/video_coding/utility/ivf_file_writer.cc
+++ b/webrtc/modules/video_coding/utility/ivf_file_writer.cc
@@ -118,17 +118,17 @@ bool IvfFileWriter::InitFromFirstFrame(const EncodedImage& encoded_image) {
std::string codec_name;
switch (codec_type_) {
pbos-webrtc 2016/05/09 16:44:33 Can you store codec_type_ as the proper enum type
hta-webrtc 2016/05/09 16:59:08 It was, and it didn't. codec_type_ is the proper e
- case kRtpVideoVp8:
+ case kVideoCodecVP8:
codec_name = "VP8";
break;
- case kRtpVideoVp9:
+ case kVideoCodecVP9:
codec_name = "VP9";
break;
- case kRtpVideoH264:
+ case kVideoCodecH264:
codec_name = "H264";
break;
default:
- codec_name = "Unkown";
+ codec_name = "Unknown";
}
LOG(LS_WARNING) << "Created IVF file " << file_name_
<< " for codec data of type " << codec_name
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698