mirror of
https://github.com/androidx/media.git
synced 2025-05-11 17:49:52 +08:00

MP4 edit lists sometimes ask to start playback between two samples. If this happens, we currently change the timestamp of the first sample to zero to trim it (e.g. to display the first frame for a slightly shorter period of time). However, we can't do this to audio samples are they have an inherent duration and trimming them this way is not possible. PiperOrigin-RevId: 543420218 (cherry picked from commit 232246240415443ff8d3a8cd5930273b4085ddaa)