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

Unified Diff: media/filters/legacy_frame_processor.h

Issue 205703003: MSE: Use frame duration, if available, in LegacyFrameProcessor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix 90K to be 90 per comment. Created 6 years, 9 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
« no previous file with comments | « media/filters/chunk_demuxer_unittest.cc ('k') | media/filters/legacy_frame_processor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/legacy_frame_processor.h
diff --git a/media/filters/legacy_frame_processor.h b/media/filters/legacy_frame_processor.h
index 1de3c81f63686e052f5924bb764371398956a08e..46da312b0509c702983f309e36b62379549592fd 100644
--- a/media/filters/legacy_frame_processor.h
+++ b/media/filters/legacy_frame_processor.h
@@ -17,10 +17,9 @@ namespace media {
// algorithm.
class MEDIA_EXPORT LegacyFrameProcessor : public FrameProcessorBase {
public:
- // Callback signature used to notify ChunkDemuxer of timestamps that may cause
- // the duration to be updated.
- typedef base::Callback<void(
- base::TimeDelta, ChunkDemuxerStream*)> IncreaseDurationCB;
+ // Callback signature used to notify ChunkDemuxer of an end timestamp that may
+ // cause the duration to be updated.
+ typedef base::Callback<void(base::TimeDelta)> IncreaseDurationCB;
explicit LegacyFrameProcessor(const IncreaseDurationCB& increase_duration_cb);
virtual ~LegacyFrameProcessor();
« no previous file with comments | « media/filters/chunk_demuxer_unittest.cc ('k') | media/filters/legacy_frame_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698