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

Unified Diff: media/filters/ffmpeg_demuxer.h

Issue 2645953004: Update duration when demuxed packets exceed known duration. (Closed)
Patch Set: Update expectations. Created 3 years, 11 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/filters/ffmpeg_demuxer.h
diff --git a/media/filters/ffmpeg_demuxer.h b/media/filters/ffmpeg_demuxer.h
index be632cd33b014384d6b16d016428bfaeff24a208..455c1532f95a71d1d4c7d1d03ab4a4c34816037d 100644
--- a/media/filters/ffmpeg_demuxer.h
+++ b/media/filters/ffmpeg_demuxer.h
@@ -354,6 +354,7 @@ class MEDIA_EXPORT FFmpegDemuxer : public Demuxer {
// Set if we know duration of the audio stream. Used when processing end of
// stream -- at this moment we definitely know duration.
bool duration_known_;
+ base::TimeDelta duration_;
// FFmpegURLProtocol implementation and corresponding glue bits.
std::unique_ptr<BlockingUrlProtocol> url_protocol_;

Powered by Google App Engine
This is Rietveld 408576698