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

Unified Diff: media/formats/mp2t/es_parser_h264.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_parser_h264.h
diff --git a/media/formats/mp2t/es_parser_h264.h b/media/formats/mp2t/es_parser_h264.h
index 674b2c650a9c5be50e63a6c5a802806ba58c5c91..82499f5ec530ecb86812426fb8206894f0391e62 100644
--- a/media/formats/mp2t/es_parser_h264.h
+++ b/media/formats/mp2t/es_parser_h264.h
@@ -43,13 +43,13 @@ class MEDIA_EXPORT EsParserH264 : NON_EXPORTED_BASE(public EsParser) {
// EsParser implementation.
virtual bool Parse(const uint8* buf, int size,
base::TimeDelta pts,
- base::TimeDelta dts) OVERRIDE;
+ DecodeTimestamp dts) OVERRIDE;
virtual void Flush() OVERRIDE;
virtual void Reset() OVERRIDE;
private:
struct TimingDesc {
- base::TimeDelta dts;
+ DecodeTimestamp dts;
base::TimeDelta pts;
};
@@ -96,4 +96,3 @@ class MEDIA_EXPORT EsParserH264 : NON_EXPORTED_BASE(public EsParser) {
} // namespace media
#endif
-

Powered by Google App Engine
This is Rietveld 408576698