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

Unified Diff: media/base/stream_parser_buffer.h

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/stream_parser_buffer.h
diff --git a/media/base/stream_parser_buffer.h b/media/base/stream_parser_buffer.h
index 1651dce48559af96c013ffe1c8c47817fef04a9d..8e04527afe31af220ec91d9e7ac527ecd6058cc0 100644
--- a/media/base/stream_parser_buffer.h
+++ b/media/base/stream_parser_buffer.h
@@ -116,7 +116,6 @@ class MEDIA_EXPORT StreamParserBuffer : public DecoderBuffer {
const uint8* data, int data_size,
const uint8* side_data, int side_data_size, bool is_keyframe, Type type,
TrackId track_id);
- bool IsKeyframe() const { return is_keyframe_; }
// Decode timestamp. If not explicitly set, or set to kNoTimestamp(), the
// value will be taken from the normal timestamp.
@@ -178,7 +177,6 @@ class MEDIA_EXPORT StreamParserBuffer : public DecoderBuffer {
TrackId track_id);
~StreamParserBuffer() override;
- bool is_keyframe_;
DecodeTimestamp decode_timestamp_;
int config_id_;
Type type_;

Powered by Google App Engine
This is Rietveld 408576698