- 10 Mar, 2020 7 commits
-
-
PiperOrigin-RevId: 298312222
ibaker committed -
The auto-formatter wants it to look like this, and will reformat the whole list when an item is added, so let's put that diff in a standalone change. PiperOrigin-RevId: 298305479
ibaker committed -
The test had two problems: 1. It posts messages using a Handler and we need to idle the main looper to actually deliver this message. 2. SimpleDecoder uses a background thread that is not within our control from the test. Ensure the decoding happens after we queue input buffers by using a lock. PiperOrigin-RevId: 298300175tonihei committed -
PiperOrigin-RevId: 298290511
andrewlewis committed -
PiperOrigin-RevId: 298288236
andrewlewis committed -
This is one step toward following the google3's test naming convention. See go/java-testing/getting_started#basic-test-template for details why prefix test isn't necessary. This CL is generated by following command $ find -name '*Test.java' | xargs -I{} sed -i 's/^\ \ public\ void\ test\([A-Z]\)\(.*\)$/ public void \L\1\E\2/' {} and then manually modified following tests where test method names conflict with test target. - VorbisUtilTest - VorbisReaderTest - UtilTest - DownloadManagerDashTest - DefaultOggSeekerTest - OggPageHeaderTest - HlsMasterPlaylistParserTest PiperOrigin-RevId: 298074653olly committed -
PiperOrigin-RevId: 298070828
bachinger committed
-
- 28 Feb, 2020 16 commits
-
-
Issue: #5978 PiperOrigin-RevId: 297876336
olly committed -
PiperOrigin-RevId: 297873726
christosts committed -
PiperOrigin-RevId: 297865356
olly committed -
PiperOrigin-RevId: 297864386
olly committed -
PiperOrigin-RevId: 297823929
andrewlewis committed -
The default will soon change to Looper mode PAUSED. Some parts of our code relies on the legacy behaviour when setting set SystemClock and expecting pending messages to be delivered. With the new mode, we need to explicitly request to idle the main looper so that pending messages can be delivered. PiperOrigin-RevId: 297814964
tonihei committed -
We should only ignore seek to the current position if we are currently READY or BUFFERING. Also, pending initial seek positions should only be saved while we have an empty timeline, independent of the player state. Issue:#6886 PiperOrigin-RevId: 297813854
tonihei committed -
This is more accurate since it's just a placeholder and none of the values is provided by the media. It also allows to fix a problem in ClippingMediaSource where we couldn't detect a clipping error because we didn't know if the timeline is a placeholder or not. Issue:#5924 PiperOrigin-RevId: 297813606
tonihei committed -
This ensures all player interactions in tests automatically verify that timestamps calculations are done correctly. PiperOrigin-RevId: 297813324
tonihei committed -
This while loop started with the second period in the queue and the first one was always ignored. PiperOrigin-RevId: 297812937
tonihei committed -
When a new Timeline arrives in the Player, we check whether we can keep existing MediaPeriods. This check currently involves a condition that checks if the MediaPeriod is already prepared. The only reason we do that is to avoid calling MediaPeriod.seekToUs, which is not allowed on an unprepared MediaPeriod. It's better to keep the MediaPeriod to prevent restarting the preparation process. The prepration check can move further down to the place right before we would call seekToUs. PiperOrigin-RevId: 297812584
tonihei committed -
AnalyticsCollector keeps a list of existing MediaPeriodInfo that need to be updated to new Timelines when they arrive. This already happens in all cases except that the playingMediaPeriod wasn't updated when it didn't change during the timeline update. PiperOrigin-RevId: 297812038
tonihei committed -
The positions were interchangeably used with window and period positions. This change more clearly ensures that all positions in the AdPlaybackState are based on periods and that we use the right adjustments for all usages. PiperOrigin-RevId: 297811633
tonihei committed -
PiperOrigin-RevId: 297806457
andrewlewis committed -
Selection flags and language tags appear to apply to all tracks in MKV, so I think the change in output is correct. PiperOrigin-RevId: 297646190
olly committed -
This removes noisy data from the dump files and allows updating less dump files if a format field is added, removed or updated. PiperOrigin-RevId: 297617138
kimvde committed
-
- 27 Feb, 2020 16 commits
-
-
PiperOrigin-RevId: 297603312
aquilescanta committed -
These were accidentally introduced when rebasing https://github.com/google/ExoPlayer/commit/6946170d3ece533655a23f8fe65936412f365a6c PiperOrigin-RevId: 297602131
ibaker committed -
Parallel asynchronous calls to MediaCodec.queueSecureInputBuffer() may produce garbled video on some platforms. This workaround synchronizes calls to MediaCodec.queueSecureInputBuffer() so that only one call is in flight. PiperOrigin-RevId: 297601037
christosts committed -
Issue:#6914 PiperOrigin-RevId: 297598910
samrobinson committed -
PiperOrigin-RevId: 297591404
kim-vde committed -
This change adds the callback onSkipSilenceEnabledChange to the AudioListener and calls it when changed by the user by calling setPlaybackParameters, or when changed internally by the DefaultAudioSink if the parameters are not applicable. It needs to be plumped through AudioSink, AudioRenderer to SEP which eventually calls the AudioListener. No changes to the Player interface so far. The getter of skipSilenceEnabled is added to SimpleExoPlayer for completeness, but not yet to the Player interface. The setter is not yet exposed, but implemented as a private method for implementation reasons. PiperOrigin-RevId: 297590291
bachinger committed -
PiperOrigin-RevId: 297579793
andrewlewis committed -
PiperOrigin-RevId: 297579733
kim-vde committed -
PiperOrigin-RevId: 297578984
andrewlewis committed -
PiperOrigin-RevId: 297562889
olly committed -
In order to make DataSource extend SampleDataReader. PiperOrigin-RevId: 297368181
aquilescanta committed -
PiperOrigin-RevId: 297354294
tonihei committed -
PiperOrigin-RevId: 297336461
kimvde committed -
- Which abstracts ProgressiveMediaPeriod from the Extraction implementation. - Will allow us to depend on MediaParser. PiperOrigin-RevId: 297330623
aquilescanta committed -
DefaultLoadControl applies the same min buffer duration to audio and video. By default, min buffer is set equal to max buffer (50 seconds). PiperOrigin-RevId: 297324489
christosts committed -
Note: The dump files will need updating again when the extractors are modified to only set the appropriate bitrate. Enhancing the test first is nice, because it means that in subsequent CLs the dump file updates can be used to quickly see what's changed in the output. PiperOrigin-RevId: 297188367
olly committed
-
- 25 Feb, 2020 1 commit
-
-
PiperOrigin-RevId: 297187116
Oliver Woodman committed
-