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

Unified Diff: media/base/test_helpers.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/base/test_helpers.cc
diff --git a/media/base/test_helpers.cc b/media/base/test_helpers.cc
index b37dc0e8f8ab46b8a9c346b9c83c381310c47ed9..84347cfed2a4462c8a4219966cb063bb9cf96da9 100644
--- a/media/base/test_helpers.cc
+++ b/media/base/test_helpers.cc
@@ -219,7 +219,8 @@ scoped_refptr<DecoderBuffer> CreateFakeVideoBufferForTest(
scoped_refptr<DecoderBuffer> buffer = DecoderBuffer::CopyFrom(
static_cast<const uint8*>(pickle.data()),
- static_cast<int>(pickle.size()));
+ static_cast<int>(pickle.size()),
+ true);
buffer->set_timestamp(timestamp);
buffer->set_duration(duration);

Powered by Google App Engine
This is Rietveld 408576698