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

Unified Diff: media/mp4/track_run_iterator.cc

Issue 20123002: Add Chromium-side support for SourceBuffer.appendWindowStart and SourceBuffer.appendWindowEnd. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and remove URL in comment to make presubmit happy. Created 7 years, 5 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/mp4/track_run_iterator.h ('k') | media/mp4/track_run_iterator_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mp4/track_run_iterator.cc
diff --git a/media/mp4/track_run_iterator.cc b/media/mp4/track_run_iterator.cc
index a7f64cd2495e0d8c046f562862b6a1331f9be95e..f16a8bffd1fd6b0ea0669a2b0569d6378b24d80b 100644
--- a/media/mp4/track_run_iterator.cc
+++ b/media/mp4/track_run_iterator.cc
@@ -343,15 +343,6 @@ int64 TrackRunIterator::GetMaxClearOffset() {
return offset;
}
-TimeDelta TrackRunIterator::GetMinDecodeTimestamp() {
- TimeDelta dts = kInfiniteDuration();
- for (size_t i = 0; i < runs_.size(); i++) {
- dts = std::min(dts, TimeDeltaFromRational(runs_[i].start_dts,
- runs_[i].timescale));
- }
- return dts;
-}
-
uint32 TrackRunIterator::track_id() const {
DCHECK(IsRunValid());
return run_itr_->track_id;
« no previous file with comments | « media/mp4/track_run_iterator.h ('k') | media/mp4/track_run_iterator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698