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

Unified Diff: media/filters/chunk_demuxer.cc

Issue 10908180: Reset 'can_update_offset' on call to ChunkDemuxer::Abort() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Really fix comment Created 8 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 | « no previous file | media/filters/chunk_demuxer_unittest.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 15d8b09148daaef9a6b621cef0788d6546d18614..d7c4b9a5acb2f428bec9135dcddd8ac1eea09ebb 100644
--- a/media/filters/chunk_demuxer.cc
+++ b/media/filters/chunk_demuxer.cc
@@ -830,6 +830,7 @@ void ChunkDemuxer::Abort(const std::string& id) {
CHECK(IsValidId(id));
stream_parser_map_[id]->Flush();
+ source_info_map_[id].can_update_offset = true;
}
void ChunkDemuxer::SetDuration(base::TimeDelta duration) {
« no previous file with comments | « no previous file | media/filters/chunk_demuxer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698