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

Unified Diff: media/filters/ffmpeg_demuxer.h

Issue 2440563004: Switch to using an explicit ended signal instead of time comparison. (Closed)
Patch Set: Fix ended event in ARI. Created 4 years, 2 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 6c065de24f66136852e05dc2788173b24d1cf8b1..3c7c608c68a0db54da7320e4a28309fc30ecc073 100644
--- a/media/filters/ffmpeg_demuxer.h
+++ b/media/filters/ffmpeg_demuxer.h
@@ -344,6 +344,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