olly
80645056d2
Doc fix.
...
PiperOrigin-RevId: 228296962
2019-01-15 14:11:25 +00:00
aquilescanta
93f4a19f07
Expand check for muxed audio media tags to include uris that match variants
...
Issue:#5313
PiperOrigin-RevId: 228155222
2019-01-15 14:10:59 +00:00
aquilescanta
32bad69158
Increase search size in mp4 sniffing once moov has been found
...
Issue:#5320
PiperOrigin-RevId: 228142567
2019-01-15 14:10:53 +00:00
andrewlewis
99bc13221c
Treat AVERROR_INVALIDDATA as non-fatal
...
Also configure the FFmpeg context to ignore errors as far as possible (this
appears to have an effect only for certain decoders).
Issue: #5293
PiperOrigin-RevId: 227851397
2019-01-15 14:10:02 +00:00
andrewlewis
189e3c31be
Fix nullness issue
...
PiperOrigin-RevId: 227822937
2019-01-15 14:09:18 +00:00
andrewlewis
a568fbdd51
Parse frame rate from 'mdta' metadata
...
PiperOrigin-RevId: 227813461
2019-01-15 14:09:04 +00:00
aquilescanta
4847889a2f
Prevent IllegalStateException in Mp4 sniffing
...
If a negative value is read, sniffing should just fail.
PiperOrigin-RevId: 227689568
2019-01-15 14:07:59 +00:00
aquilescanta
61a7750f23
Enable setOutputSurfaceWorkaround for Huawei P10 lite
...
Issue:#5312
PiperOrigin-RevId: 227673949
2019-01-15 14:07:28 +00:00
aquilescanta
aff689a7da
Fix bug when calculating EOF position in mp4 sniffing
...
PiperOrigin-RevId: 227668426
2019-01-15 14:07:18 +00:00
tonihei
fc16833903
Use Handler instead of ExoPlayer messages in ConcatenatingMediaSource
...
ExoPlayer methods must not be called from any thread besides the specified
app thread. Therefore we shouldn't use them here. Using a regular Handler
instead is fully equivalent.
Issue:#5240
PiperOrigin-RevId: 227650489
2019-01-15 14:07:05 +00:00
andrewlewis
f11abbda97
Fix replacement char check
...
PiperOrigin-RevId: 227646358
2019-01-15 14:06:47 +00:00
olly
6373554d6a
Move syncFileDescriptor to use an experimental method
...
PiperOrigin-RevId: 227520168
2019-01-15 14:05:21 +00:00
andrewlewis
d3f5057d59
Handle rectangular rotation projections in Matroska
...
See also https://github.com/Matroska-Org/matroska-specification/issues/269 .
PiperOrigin-RevId: 226758584
2019-01-15 14:03:54 +00:00
tonihei
f79005ab0a
Fix manifest uri in SsDownloadHelper.
...
This is the same as in SsMediaSource.
PiperOrigin-RevId: 225001911
2019-01-15 13:47:53 +00:00
tonihei
3833d98755
Improve doc for setKeepContentOnPlayerReset.
...
This also applies when seeking or transitioning to unprepared media, which
isn't clear from the current documentation.
Issue:#5267
PiperOrigin-RevId: 226486685
2019-01-15 13:43:39 +00:00
olly
f042ae4cf3
Don't write CachedContentIndex to disk on key removal
...
Issue: #5136
PiperOrigin-RevId: 224857629
2018-12-20 21:41:47 +00:00
olly
c73c6f2013
Bump for 2.9.3
...
PiperOrigin-RevId: 226356810
2018-12-20 21:18:41 +00:00
Oliver Woodman
4ccfa6f068
Fix buffer size for renderers with TRACK_TYPE_NONE
...
This includes NoSampleRenderers.
2018-12-20 12:31:20 +00:00
Oliver Woodman
6060b8113d
Relax audio decoder capability checks
...
Issue: #5145
2018-12-19 22:01:20 +00:00
aquilescanta
f6165f753c
Mitigate the need for FLAG_ALLOW_NON_IDR_KEYFRAMES
...
Use random access indicator in transport streams
Issue:#1967
Issue:#2020
Issue:#2182
Issue:#2469
Issue:#2581
Issue:#2748
Issue:#2939
Issue:#2979
Issue:#3316
Issue:#3574
Issue:#3709
Issue:#3747
Issue:#4103
Issue:#4184
Issue:#4355
Issue:#4538
Issue:#4719
Issue:#4861
Issue:#4925
Issue:#4951
Issue:#5108
Issue:#5186
PiperOrigin-RevId: 225798044
2018-12-19 21:56:58 +00:00
Oliver Woodman
fa82004fa3
Merge pull request #5066 from szaboa:feature/1583_support_png_ttml
...
PiperOrigin-RevId: 225531695
2018-12-19 21:51:36 +00:00
olly
ca9ecaa448
Blacklist OMX.SEC.mp3.dec for more devices
...
Issue #4519
PiperOrigin-RevId: 226205245
2018-12-19 21:50:26 +00:00
andrewlewis
975ed6c277
Use the true bitrate for CBR MP3 seeking
...
PiperOrigin-RevId: 225989898
2018-12-19 21:50:14 +00:00
Oliver Woodman
78cdd5fee1
Merge pull request #5216 from mseroczynski:dev-v2
...
PiperOrigin-RevId: 225966289
2018-12-19 21:49:48 +00:00
olly
abdb58485f
Add Player.MetadataComponent for completeness
...
PiperOrigin-RevId: 225795581
2018-12-19 21:49:21 +00:00
andrewlewis
479841f65f
Add Nexus Player to output surface workaround
...
PiperOrigin-RevId: 225383173
2018-12-19 21:49:08 +00:00
olly
e7e2cbdc90
Add missing ..
...
PiperOrigin-RevId: 225379305
2018-12-19 21:49:02 +00:00
olly
fd6874809a
Clarify that the shutter can prevent flicker
...
PiperOrigin-RevId: 225374071
2018-12-19 21:48:57 +00:00
olly
942ac78a0c
Add 4K Bravia to output surface workaroud
...
PiperOrigin-RevId: 225344232
2018-12-19 21:48:49 +00:00
Oliver Woodman
1851d5e193
Merge pull request #5245 from natario1:videosize-override
...
PiperOrigin-RevId: 225187852
2018-12-19 21:48:41 +00:00
olly
db5083d18a
Enable setOutputSurfaceWorkaround for dangal
...
Issue: #5169
PiperOrigin-RevId: 225025357
2018-12-19 21:48:10 +00:00
eguven
be2942cee3
Apply EOS flush workaround to stvm8 devices
...
Issue:#5203
PiperOrigin-RevId: 224726041
2018-12-19 21:47:14 +00:00
tonihei
0e139e9945
Use media source tag in dummy timeline.
...
This is now possible as it's directly accessible from the media source.
Issue:#5177
Issue:#5155
PiperOrigin-RevId: 224321917
2018-12-19 21:47:02 +00:00
andrewlewis
ee1ec8d3d6
Disable post processing on Nvidia devices
...
PiperOrigin-RevId: 224291309
2018-12-19 21:46:52 +00:00
Oliver Woodman
5f33c7fcf5
Merge pull request #5187 from BrainCrumbz:feat/get-tag
...
PiperOrigin-RevId: 224166374
2018-12-19 21:40:35 +00:00
tonihei
ddda2eef7e
Add no-op defaults to Video(Audio)RendererEventListener.
...
This is in line with how Player.EventListener and AnalyticsListener methods are
defined and helps to only implement the callbacks needed.
PiperOrigin-RevId: 223991262
2018-12-19 21:36:00 +00:00
olly
a94fa330f5
Prevent Cea608Decoder from generating Subtitles with null Cues list.
...
PiperOrigin-RevId: 223580953
2018-12-01 00:12:50 +00:00
olly
c55d95086b
Add several devices to setOutputSurface workaround:
...
- Asus ZenFone GO (ASUS_X00AD_2)
- Sugar S9 (i9031)
- Redmi Note 3 (kate)
These devices trigger native crashes similar to
https://github.com/google/ExoPlayer/issues/4460
I'm not sure why Asus Zenfone Go (model: ZB500KL, device: ASUS_X00AD_2) was removed here
73af056da3
PiperOrigin-RevId: 223580393
2018-12-01 00:11:04 +00:00
andrewlewis
f8ad6d309e
Fix clearkey DRM UUID passed to MediaCrypto
...
PiperOrigin-RevId: 223324279
2018-11-30 16:30:01 +00:00
andrewlewis
6d232f5b2b
Replace remaining stbl assertions with warnings
...
Issue: #5162
PiperOrigin-RevId: 223193019
2018-11-30 16:28:52 +00:00
olly
5134477873
Bump for 2.9.2
...
PiperOrigin-RevId: 223141203
2018-11-28 11:47:09 +00:00
andrewlewis
15d13bdccd
Handle metadata failing to decode in MetadataRenderer
...
Issue: #5149
PiperOrigin-RevId: 223121651
2018-11-28 11:45:45 +00:00
olly
017923ed81
Fall back to TYPE_ROTATION_VECTOR if TYPE_GAME_ROTATION_VECTOR unavailable
...
Issue: #5119
PiperOrigin-RevId: 222978448
2018-11-27 19:50:45 +00:00
olly
38c53298b0
Strip private ID3 data from HLS sample formats
...
Issue: #5063
PiperOrigin-RevId: 222975020
2018-11-27 19:49:18 +00:00
olly
1e37d31867
Remove spurious VisibleForTesting annotation
...
It needs to have package visiblity, otherwise nothing can use it.
PiperOrigin-RevId: 222821546
2018-11-27 19:48:21 +00:00
olly
0bcce18976
Assume text tracks in protected SmoothStreaming are not protected
...
Issue: #4838
PiperOrigin-RevId: 222805051
2018-11-27 19:47:00 +00:00
olly
2cab83e6e4
Fix unnecessary media playlist requests when playing live streams
...
Issue: #5059
PiperOrigin-RevId: 222803511
2018-11-27 19:46:37 +00:00
Oliver Woodman
9c821777a0
Noop fix to WebvttDecoder
...
We already have tests for comment blocks, and they already
pass because we discard the comment when we fail to parse it
as a cue. We should just skip it directly, however.
2018-11-27 19:46:25 +00:00
olly
07053aaa51
Add Lint.IfChange/ThenChange for repeat modes
...
PiperOrigin-RevId: 222630411
2018-11-27 19:46:12 +00:00
olly
2d808010ee
Ensure changes are reflected into attrs
...
PiperOrigin-RevId: 222628386
2018-11-27 19:46:06 +00:00