Pierre-Hugues Husson
28c5043dc1
Comment SectionPassthrough
2020-02-18 13:45:14 +01:00
Pierre-Hugues Husson
79bc160373
output is created at 'init', annotate it as lazyily initialized
2020-02-18 13:45:03 +01:00
kimvde
b1b6c8dfea
Add test for seek map duration correction in MP3 index seeker
...
PiperOrigin-RevId: 295543916
2020-02-17 17:14:07 +00:00
kimvde
74443f47f0
Fix DefaultExtractorsFactory Javadoc
...
PiperOrigin-RevId: 295540885
2020-02-17 17:13:57 +00:00
olly
e606893ff8
Create a SampleDataReader interface for TrackOutput.sampleData().
...
Modify TrackOutput.sampleData() to accept SampleDataReader instead of ExtractorInput. SampleDataReader supports only read and skip calls, which all sampleData() implementations already restrict themselves to.
PiperOrigin-RevId: 294905155
2020-02-13 15:46:13 +00:00
kimvde
f5025bfce4
Share seek tests between FLAC extractors
...
PiperOrigin-RevId: 294893303
2020-02-13 15:46:05 +00:00
kimvde
7a8ab7ce68
FakeTrackOutput: test all the formats sent
...
PiperOrigin-RevId: 294621946
2020-02-13 15:44:47 +00:00
kimvde
bdfd24290f
Share FLAC extractor tests between both extractors
...
PiperOrigin-RevId: 294614958
2020-02-13 15:44:29 +00:00
olly
1cbe3f72e6
DataSpec: Deprecate most constructors
...
Keeping (Uri) and (Uri, position, length) to avoid needing
Builder for the trivial case.
PiperOrigin-RevId: 294530226
2020-02-13 15:43:54 +00:00
ybai001
397aafb3ce
Add EAC3 and AC-4 test assets
2020-02-13 09:47:18 +08:00
kim-vde
fed0acc253
Merge pull request #6949 from DolbyLaboratories:dev-v2-assets
...
PiperOrigin-RevId: 294441610
2020-02-11 17:12:55 +00:00
kimvde
b69918a21e
Move assets from extractor to testdata module
...
PiperOrigin-RevId: 293608745
2020-02-11 17:09:39 +00:00
kimvde
cbaa4a7c57
Avoid sending duplicate formats in AC3 extractor
...
PiperOrigin-RevId: 293582663
2020-02-11 17:09:31 +00:00
kimvde
011efcc522
Move FLAC assets from extractor to testdata module
...
PiperOrigin-RevId: 293552271
2020-02-11 17:09:00 +00:00
kimvde
a9507a0064
Make FakeExtractorOutput dump additional seek points
...
PiperOrigin-RevId: 293337032
2020-02-11 17:08:00 +00:00
aquilescanta
0f6bf1525d
Remove unused test asset
...
Unused since [Internal ref: <unknown commit>].
PiperOrigin-RevId: 292932188
2020-02-11 17:07:44 +00:00
kimvde
a6f22cd96c
BinarySeachSeeker: mark seek finished after reading input
...
This allows to continue the seek in case an error is thrown when reading
from the input.
PiperOrigin-RevId: 292924295
2020-02-11 17:07:33 +00:00
olly
b23940dc61
Clean up Vorbis header
...
The functional change is to set the bitrate fields to Format.NO_VALUE
in the case that they're non-positive in the header data. Else it's
very easy to to take the fields and copy them directly into Format as
incorrect values.
Issue #2863
PiperOrigin-RevId: 292920141
2020-02-11 17:07:10 +00:00
kimvde
ed88f4f1dd
Add possibility to update ExtractorOutput duration
...
PiperOrigin-RevId: 292912511
2020-02-11 17:06:48 +00:00
ybai001
35930623bd
Add eac3 test assets and cases
2020-02-06 09:56:46 +08:00
olly
3a702cf53a
Change Format.createTextSampleFormat for common uses cases
...
PiperOrigin-RevId: 292863614
2020-02-03 11:20:56 +00:00
olly
0be3451c39
Change Format.createImageSampleFormat for common use case
...
PiperOrigin-RevId: 292570360
2020-02-03 11:20:40 +00:00
olly
d287e13d9e
Add Format.createSampleFormat for common use case
...
PiperOrigin-RevId: 292562678
2020-01-31 17:52:51 +00:00
olly
ff822ff9fd
HLS: Fix key rotation
...
Passing EXT-X-KEY DrmInitData through the FragmentedMp4Extractor
doesn't work for streams with key rotation, because an extractor
instance is used for multiple segments, but is only passed the
EXT-X-KEY DrmInitData corresponding to the first segment.
This change removes passing DrmInitData through the extractor,
and instead passes it via FormatAdjustingSampleQueue. This is
in-line with how manifest DrmInitData is handled during DASH
playbacks.
Issue: #6903
PiperOrigin-RevId: 292323429
2020-01-30 19:30:58 +00:00
kimvde
427db0b532
Update mp3 test files to test more common use cases
...
PiperOrigin-RevId: 292110291
2020-01-30 19:30:04 +00:00
kimvde
5d74ebe552
MP3 IndexSeeker: handle seek to non-yet-read frames
...
Issue: #6787
PiperOrigin-RevId: 291953855
2020-01-30 19:29:47 +00:00
kimvde
103bd4199c
Add IndexSeeker to MP3 extractor
...
This seeker is only seeking to frames that have already been read by the
extractor for playback. Seeking to not-yet-read frames will be
implemented in another change.
Issue: #6787
PiperOrigin-RevId: 291888899
2020-01-28 16:55:50 +00:00
Pierre-Hugues Husson
1d65afdd16
Add minimal support of DVB AIT
...
This is used by broadcast channels to provide interactive contents.
2020-01-28 16:07:02 +01:00
olly
8da0e27d2e
Fix premature nullness assertions
...
Issue: #6910
PiperOrigin-RevId: 291721229
2020-01-27 18:22:31 +00:00
kimvde
5a6cffcf6f
Justify MP3 ConstantBitrateSeeker frame size + add tests
...
PiperOrigin-RevId: 291702471
2020-01-27 18:22:06 +00:00
andrewlewis
2fc426214f
Fix running tests with gradle
...
The tests for the extractor module rely on some core classes.
PiperOrigin-RevId: 291688932
2020-01-27 11:05:28 +00:00
kimvde
694f9844b0
MP3 extractor: refactor seeker initialization
...
PiperOrigin-RevId: 291405419
2020-01-27 11:05:20 +00:00
andrewlewis
91517dc957
Split out extractor and common modules
...
PiperOrigin-RevId: 291378636
2020-01-24 18:15:19 +00:00