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

Unified Diff: media/filters/chunk_demuxer.cc

Issue 575643002: Initialize media timeline correctly for positive start times. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments. Created 6 years, 3 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.h ('k') | media/filters/ffmpeg_demuxer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/chunk_demuxer.cc
diff --git a/media/filters/chunk_demuxer.cc b/media/filters/chunk_demuxer.cc
index 383aa84f26e2a4c56b2e1edcaa33cd0f782ea2a1..505d9c1f69c6a8275ad437ce23bd7374b72ffb97 100644
--- a/media/filters/chunk_demuxer.cc
+++ b/media/filters/chunk_demuxer.cc
@@ -1141,6 +1141,10 @@ DemuxerStream* ChunkDemuxer::GetStream(DemuxerStream::Type type) {
return NULL;
}
+TimeDelta ChunkDemuxer::GetStartTime() const {
+ return TimeDelta();
+}
+
Demuxer::Liveness ChunkDemuxer::GetLiveness() const {
return liveness_;
}
@@ -1642,7 +1646,7 @@ void ChunkDemuxer::OnSourceInitDone(
return;
}
- SeekAllSources(base::TimeDelta());
+ SeekAllSources(GetStartTime());
StartReturningData();
if (duration_ == kNoTimestamp())
« no previous file with comments | « media/filters/chunk_demuxer.h ('k') | media/filters/ffmpeg_demuxer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698