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

Unified Diff: media/filters/chunk_demuxer.cc

Issue 335273002: Fix seeking when the start time is non-zero. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments. Created 6 years, 6 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_audio_decoder.cc » ('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 c4afc02c5430fccdb6d1f791c9789fb7fa80f44e..d33c7864ce11f8d49584eb9b1117ceb809410ae8 100644
--- a/media/filters/chunk_demuxer.cc
+++ b/media/filters/chunk_demuxer.cc
@@ -1102,10 +1102,6 @@ DemuxerStream* ChunkDemuxer::GetStream(DemuxerStream::Type type) {
return NULL;
}
-TimeDelta ChunkDemuxer::GetStartTime() const {
- return TimeDelta();
-}
-
base::Time ChunkDemuxer::GetTimelineOffset() const {
return timeline_offset_;
}
@@ -1607,7 +1603,7 @@ void ChunkDemuxer::OnSourceInitDone(
return;
}
- SeekAllSources(GetStartTime());
+ SeekAllSources(base::TimeDelta());
StartReturningData();
if (duration_ == kNoTimestamp())
« no previous file with comments | « media/filters/chunk_demuxer.h ('k') | media/filters/ffmpeg_audio_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698