media/library/src/androidTest/java/com/google/android/exoplayer
olly 782817d524 Remove durationUs from MediaFormat.
Duration was originally included in MediaFormat to match the
framework class, but it actually doesn't make much sense. In
many containers there's no such thing as per-stream duration,
and in any case we don't really care. Setting the duration on
each format required excessive piping.

This change moves duration into SeekMap instead, which seems
to make a lot more sense because it's at the container level,
and because being able to seek is generally couplied with
knowing how long the stream is.

This change is also a step toward merging Format and MediaFormat
into a single class (because Format doesn't have a duration),
which is coming soon.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=114428500
2016-06-15 18:54:50 +01:00
..
dash ExoPlayer V2 Refactor - Step 7 (partial) 2016-06-15 18:54:38 +01:00
extractor Remove durationUs from MediaFormat. 2016-06-15 18:54:50 +01:00
hls Parse the sequence number at discontinuities. 2015-11-25 17:00:18 +00:00
metadata Put tests where they belong + bump bintray-release version. 2015-07-27 16:32:55 +01:00
smoothstreaming Handle curle braces in SystemID UUID. 2015-10-26 15:31:09 +00:00
testutil Refactored the SubtitleParser's parse() signature 2016-01-05 14:52:30 +00:00
text Fix TtmlColorParser test. 2016-01-15 19:06:27 +00:00
upstream Put tests where they belong + bump bintray-release version. 2015-07-27 16:32:55 +01:00
util Fix ParsableByteArrayTest. 2016-01-22 12:11:16 +00:00
CTest.java Put tests where they belong + bump bintray-release version. 2015-07-27 16:32:55 +01:00
MediaFormatTest.java Remove durationUs from MediaFormat. 2016-06-15 18:54:50 +01:00
TimeRangeTest.java Support dynamic TimeRange for DASH live. 2015-09-01 14:14:10 +01:00