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

Unified Diff: media/formats/mp2t/es_adapter_video.h

Issue 447963003: Introduce DecodeTimestamp class to make it easier to distiguish presentation and decode timestamps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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: media/formats/mp2t/es_adapter_video.h
diff --git a/media/formats/mp2t/es_adapter_video.h b/media/formats/mp2t/es_adapter_video.h
index 0739fc3c276904757cab2dca1a6390fb63d84415..21272359186372004a59a2e6e93c0a1a1b8f3ced 100644
--- a/media/formats/mp2t/es_adapter_video.h
+++ b/media/formats/mp2t/es_adapter_video.h
@@ -13,9 +13,10 @@
#include "base/memory/ref_counted.h"
#include "base/time/time.h"
#include "media/base/media_export.h"
+#include "media/base/stream_parser_buffer.h"
namespace media {
-class StreamParserBuffer;
+
class VideoDecoderConfig;
namespace mp2t {
@@ -87,7 +88,7 @@ class MEDIA_EXPORT EsAdapterVideo {
// - Minimum PTS of discarded frames.
// - DTS of discarded frames.
base::TimeDelta discarded_frames_min_pts_;
- std::list<base::TimeDelta> discarded_frames_dts_;
+ std::list<DecodeTimestamp> discarded_frames_dts_;
DISALLOW_COPY_AND_ASSIGN(EsAdapterVideo);
};

Powered by Google App Engine
This is Rietveld 408576698