media/library
michaelkatz e8a5ac91ef Adjust track selection with Dolby Vision if display does not support
If the sample type is Dolby Vision and the display does not support Dolby Vision, then the capabilities DecoderSupport flag is set to DECODER_SUPPORT_FALLBACK_MIMETYPE. This denotes that the renderer will use a decoder for a fallback mimetype if possible. This alters track selection as tracks with DecoderSupport DECODER_SUPPORT_PRIMARY are preferred.

UnitTests included
-DefaultTrackSelector test that checks track selection reordering with DECODER_SUPPORT_FALLBACK_MIMETYPE
-MediaCodecVideoRenderer test that checks setting of DecoderSupport flag based on Display's Dolby Vision support

Issue: google/ExoPlayer#8944
PiperOrigin-RevId: 480040876
(cherry picked from commit a366590a04)
2022-10-10 10:35:17 +00:00
..
all Fix minimum API level issue 2022-02-08 11:03:36 +00:00
common Remove late frame dropping in FrameProcessor 2022-10-07 17:29:15 +00:00
core Adjust track selection with Dolby Vision if display does not support 2022-10-10 10:35:17 +00:00
dash Fix 3 ErrorProneStyle findings: 2022-08-31 08:29:19 +00:00
database Reformat some javadoc 2022-02-18 15:02:33 +00:00
datasource Fix instrumentation tests not working via Gradle 2022-09-20 15:25:38 +00:00
decoder Expect PresentationTime Discontinuity During Stream Transitions 2022-04-26 14:25:46 +01:00
extractor Document the allowed values of TsPayloadReader.Flags IntDef 2022-10-07 13:50:28 +00:00
hls Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 16:24:07 +01:00
rtsp Fix outdated RtpDataLoadable javadoc 2022-08-23 13:41:49 +00:00
smoothstreaming Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 16:24:07 +01:00
transformer HDR: Disable tone mapping on unsupported pixel build ID. 2022-10-07 13:57:06 +00:00
ui Use the current overrides of the player as preset 2022-07-18 10:36:01 +00:00
README.md Update to androidx.media3 2021-10-27 09:12:46 +01:00

ExoPlayer library

The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.