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

Unified Diff: media/formats/mp2t/es_adapter_video_unittest.cc

Issue 712593003: Move key frame flag from StreamParserBuffer to DecoderBuffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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: media/formats/mp2t/es_adapter_video_unittest.cc
diff --git a/media/formats/mp2t/es_adapter_video_unittest.cc b/media/formats/mp2t/es_adapter_video_unittest.cc
index 906d8e175aa9a37038e0875b7f416c1c5e2ed3e6..73ff493a52618ed8b124b6c4c5076f282cfa7eec 100644
--- a/media/formats/mp2t/es_adapter_video_unittest.cc
+++ b/media/formats/mp2t/es_adapter_video_unittest.cc
@@ -92,7 +92,7 @@ void EsAdapterVideoTest::OnNewConfig(const VideoDecoderConfig& video_config) {
void EsAdapterVideoTest::OnNewBuffer(
scoped_refptr<StreamParserBuffer> buffer) {
buffer_descriptors_ << "(" << buffer->duration().InMilliseconds() << ","
- << (buffer->IsKeyframe() ? "Y" : "N") << ") ";
+ << (buffer->is_keyframe() ? "Y" : "N") << ") ";
}
std::string EsAdapterVideoTest::RunAdapterTest(

Powered by Google App Engine
This is Rietveld 408576698