media/libraries
samrobinson 59166cce9c Ensure supported request only updates changes fields.
The TransformationRequest passed to FallbackListener (and
createSupportedTransformationRequest) can have null for values that
are inferred from source. Within fallback, this can be height, width,
video mime type and audio mime type (HDR mode is not linked to source).
requestedFormat has these values populated from source, and
supportedFormat then finds the closest supported values to the
requested.

If any of the values in supportedFormat do not match the
requestedFormat, then this method would build upon the
TransformationRequest and update ALL possible fallback fields. This is
a problem because the fallback listener compares the original request
to the fallback one and notifies about all the fields that have
changed.

This CL changes this so that only the values that are not the same as
requested are changed in the supported request that is given to the
fallback listener.

PiperOrigin-RevId: 496908492
2022-12-21 15:38:48 +00:00
..
cast Clarify behavior for out-of-bounds indices and align implementations 2022-12-21 15:07:20 +00:00
common Add error messages to correctness assertions in SimpleBasePlayer 2022-12-21 15:35:50 +00:00
database Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource_cronet Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource_okhttp Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource_rtmp Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_av1 Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_ffmpeg Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_flac Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_opus Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_vp9 Add javadoc links to README files 2022-12-12 11:19:23 +00:00
effect Simplify concurrency in FrameProcessingTaskExecutor 2022-12-21 15:32:00 +00:00
exoplayer Support previewing HDR on API33+ 2022-12-21 15:10:20 +00:00
exoplayer_dash Add javadoc links to README files 2022-12-12 11:19:23 +00:00
exoplayer_hls Add javadoc links to README files 2022-12-12 11:19:23 +00:00
exoplayer_ima Add javadoc links to README files 2022-12-12 11:19:23 +00:00
exoplayer_rtsp Add javadoc links to README files 2022-12-12 11:19:23 +00:00
exoplayer_smoothstreaming Add javadoc links to README files 2022-12-12 11:19:23 +00:00
exoplayer_workmanager Add javadoc links to README files 2022-12-12 11:19:23 +00:00
extractor Add javadoc links to README files 2022-12-12 11:19:23 +00:00
session Add BitmapLoader injection in MediaController 2022-12-21 15:23:38 +00:00
test_data HDR: Use local instead of remote file for testing. 2022-12-21 15:20:29 +00:00
test_exoplayer_playback Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
test_session_common Migrate BROWSER_ROOT_HINTS_KEY_ROOT_CHILDREN_SUPPORTED_FLAGS to Media3 2022-11-24 14:38:41 +00:00
test_session_current Add BitmapLoader injection in MediaController 2022-12-21 15:23:38 +00:00
test_utils Rollback of 7e63997459 2022-12-21 15:13:24 +00:00
test_utils_robolectric Rollback of 7e63997459 2022-12-21 15:13:24 +00:00
transformer Ensure supported request only updates changes fields. 2022-12-21 15:38:48 +00:00
ui Fix recursive loop when registering controller visibility listeners 2022-12-21 15:36:58 +00:00
ui_leanback Fix Dackka error due to param name mismatch 2022-12-21 15:17:34 +00:00