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

Unified Diff: webrtc/modules/video_coding/main/source/test/stream_generator.cc

Issue 1371043003: Unify FrameType and VideoFrameType. (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/main/source/test/stream_generator.cc
diff --git a/webrtc/modules/video_coding/main/source/test/stream_generator.cc b/webrtc/modules/video_coding/main/source/test/stream_generator.cc
index dcf9b6860245ef20e7f086478c6e827ed6fe9680..664764a36ad9d847f07d752960332cf395d1b952 100644
--- a/webrtc/modules/video_coding/main/source/test/stream_generator.cc
+++ b/webrtc/modules/video_coding/main/source/test/stream_generator.cc
@@ -46,8 +46,8 @@ void StreamGenerator::GenerateFrame(FrameType type,
++sequence_number_;
}
for (int i = 0; i < num_empty_packets; ++i) {
- packets_.push_back(GeneratePacket(
- sequence_number_, timestamp, 0, false, false, kFrameEmpty));
+ packets_.push_back(GeneratePacket(sequence_number_, timestamp, 0, false,
+ false, kEmptyFrame));
++sequence_number_;
}
}

Powered by Google App Engine
This is Rietveld 408576698