media/libraries
tonihei fb982c2d54 Don't enforce SimpleDecoder skipping for samples before start time
We currently enforce the skipping if the sample has a timestamp less
than the start time. While this may be the default desired behavior
for most implementations, it prevents an implementation from outputting
a sample with such a timestamp.

This change updates the logic to pre-fill the shouldBeSkipped flag
based on the input timestamp, and only check this flag on the output
buffer. None of the implementations in our library change timestamps
of samples, so this is equivalent to the previous code.

PiperOrigin-RevId: 629708873
2024-05-01 06:42:36 -07:00
..
cast Forward presumed no-op seeks to handler methods in (Simple)BasePlayer 2024-04-15 02:38:29 -07:00
common Add Mp4 object type for JPEG 2024-05-01 04:05:42 -07:00
container Add Mp4OrientationData class 2024-03-11 06:45:15 -07:00
database Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource Add IntDef for priority values 2024-04-29 08:14:20 -07:00
datasource_cronet Fix SocketTimeoutException in CronetDataSource. 2024-04-23 07:21:20 -07:00
datasource_okhttp Use Guava's toByteArray & fromByteArray methods where possible 2024-03-08 03:27:29 -08:00
datasource_rtmp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder Don't enforce SimpleDecoder skipping for samples before start time 2024-05-01 06:42:36 -07:00
decoder_av1 Replace or suppress deprecated usages 2024-01-26 10:06:18 -08:00
decoder_ffmpeg Replace or suppress deprecated usages 2024-01-26 10:06:18 -08:00
decoder_flac Rollback of 8e2869278c 2024-02-15 02:35:12 -08:00
decoder_midi MidiExtractor: mark only the first sample as key-frame 2023-11-21 07:39:46 -08:00
decoder_opus Rollback of 8e2869278c 2024-02-15 02:35:12 -08:00
decoder_vp9 Rollback of 8e2869278c 2024-02-15 02:35:12 -08:00
effect Effect:migrate setEnableColorTransfers to setSdrWorkingColorSpace 2024-04-29 03:26:58 -07:00
exoplayer Remove an extra call to updateRebufferingState method 2024-05-01 05:13:15 -07:00
exoplayer_dash Additional clean-up and formatting 2024-03-25 15:02:31 +00:00
exoplayer_hls Refresh HlsMediaPlaylist with delivery directives when possible 2024-04-29 07:24:35 -07:00
exoplayer_ima Make replaceAdTagParameters unstable API for now 2024-04-23 03:04:51 -07:00
exoplayer_rtsp Allow empty information attributes in RTSP Session Description 2024-02-20 02:47:40 -08:00
exoplayer_smoothstreaming Removing id from Label and ensuring label/labels consistency in Format.Builder. 2024-03-25 12:00:14 +00:00
exoplayer_workmanager Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
extractor Add boolean input to MpeghReader 2024-04-30 16:36:51 +01:00
muxer Update error message to be more specific 2024-04-30 07:28:35 -07:00
session Add metadata field durationMs 2024-04-25 05:05:42 -07:00
test_data Update dump files 2024-04-30 16:31:50 +01:00
test_exoplayer_playback Rollback of 8e2869278c 2024-02-15 02:35:12 -08:00
test_session_common Remove unnecessary SDK_INT checks 2024-02-13 10:26:19 +00:00
test_session_current Import androidx.media 2024-04-25 01:56:23 -07:00
test_utils Add ExoPlayer.setPriority 2024-04-30 08:49:16 -07:00
test_utils_robolectric Add Dumper.addIfNonDefault methods 2024-04-26 09:00:44 -07:00
transformer Rename Muxer.addMetadata to addMetadataEntry 2024-04-30 06:55:50 -07:00
ui Remove references to LegacyPlayerView 2024-04-09 04:12:42 -07:00
ui_leanback Bump effect and leanback minSdk to 19 2024-01-10 07:22:00 -08:00
lint.xml Update recommended way to suppress @UnstableApi errors in lint.xml 2023-11-15 02:34:40 -08:00