media/libraries/test_data
ibaker eabba49610 Check sampleMimeType rather than containerMimeType for images
These are often the same for image tracks, since we usually drop the
whole image file (both the container and actual encoded image bytes)
into a single sample, but there are cases where we emit a track with
`containerMimeType=image/jpeg` but **no** samples (from
`JpegMotionPhotoExtractor`, to carry some metadata about the image +
video byte offsets).

It's therefore more correct to implement the `supportsFormat` check
based on `sampleMimeType`, so that these 'empty' image tracks are not
considered 'supported' by `ImageRenderer`.

#minor-release

PiperOrigin-RevId: 604672331
2024-02-06 09:31:37 -08:00
..
src Check sampleMimeType rather than containerMimeType for images 2024-02-06 09:31:37 -08:00
build.gradle Add android.namespace to all build.gradle files 2023-05-19 17:19:15 +01:00
README.md Update to androidx.media3 2021-10-27 09:12:46 +01:00

Test data module

Provides sample data for media unit and instrumentation tests.