media/libraries
tonihei 69656774f9 Only use first frame stream start position check at stream transitions
We currently only force the first frame if the frame timestamp is
greater than the stream *offset*.

This is wrong for two reasons:
 1. The timestamp and the offset are not comparable and it should be
    the stream start position.
 2. The check should only be applied at stream transitions where we
    need to make sure that a new first frame isn't rendered until we
    passed the transition point.

We have to fix both issues together, because fixing just issue (1)
causes seeks to before the start position to no longer render the
frame (and playback will be stuck). A new test covers this case.

We also amend the stream transition test case to actually test what it
promises to test and add a test for prerolling samples at the
beginning, to ensure the first frame is still renderered.

Issue: androidx/media#291
PiperOrigin-RevId: 552858967
2023-08-07 11:21:08 +00:00
..
cast Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
common Only use first frame stream start position check at stream transitions 2023-08-07 11:21:08 +00:00
container Fix parsing of H.265 sequence parameter sets 2023-08-01 14:22:29 +01:00
database Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource Remove unnecessary final on DefaultHttpDataSource.Factory method 2023-06-29 23:09:14 +00:00
datasource_cronet Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource_okhttp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
datasource_rtmp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
decoder_av1 Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
decoder_ffmpeg Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
decoder_flac Add more data to e2etest dumps 2023-07-13 15:33:33 +01:00
decoder_midi Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
decoder_opus Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
decoder_vp9 Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
effect Reorder DebugTraceEvent 2023-08-07 11:18:04 +00:00
exoplayer Only use first frame stream start position check at stream transitions 2023-08-07 11:21:08 +00:00
exoplayer_dash Simplify and accurately compute chunk duration 2023-08-07 11:19:00 +00:00
exoplayer_hls Simplify and accurately compute chunk duration 2023-08-07 11:19:00 +00:00
exoplayer_ima Make MediaItems updateable 2023-07-13 15:26:30 +01:00
exoplayer_rtsp Remove stale TODO 2023-08-01 14:14:34 +01:00
exoplayer_smoothstreaming Simplify and accurately compute chunk duration 2023-08-07 11:19:00 +00:00
exoplayer_workmanager Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
extractor Add PngExtractor to DefaultExtractorsFactory 2023-08-01 14:32:58 +01:00
muxer Add validation for empty csd data 2023-08-01 14:34:17 +01:00
session Only use result.sendError where supported by legacy media library 2023-08-01 14:11:08 +01:00
test_data Add a thumbnail strip effect that tiles frames horizontally. 2023-08-07 11:15:10 +00:00
test_exoplayer_playback Add android.namespace to all build.gradle files 2023-05-19 17:19:15 +01:00
test_session_common Use MediaUtils.intersect in MediaControllerImplBase 2023-08-01 13:54:11 +01:00
test_session_current Only use result.sendError where supported by legacy media library 2023-08-01 14:11:08 +01:00
test_utils Remove setInputFrameInfo 2023-08-01 14:17:59 +01:00
test_utils_robolectric Set signal on renderer once it's allowed to render start of stream 2023-07-13 15:59:00 +01:00
transformer Compositor: Extract interface. 2023-08-01 14:35:29 +01:00
ui Fix dependencies for UI module 2023-07-14 10:24:15 +01:00
ui_leanback Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00