- 20 Oct, 2018 12 commits
-
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=216675981
andrewlewis committed -
- Always clip to period duration for the last chunk. We previously did this only when the last chunk explicitly exceeded the period end time. We now also do it when the chunk claims to end at the period boundary, but still contains samples that exceed it. - If pendingResetPositionUs == chunk.startTimeUs == 0 but the chunk still contains samples with negative timestamps, we now clip them by setting the decode only flag. Previously we only clipped such samples if the first chunk explicitly preceeded the start of the period. Issue: #4899 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=215763467
olly committed -
This makes the following changes to improve consistency among the PlaybackInfo values: 1. Update buffered position and total buffered duration after loading period is set as both values are affected by a loading period update. 2. Add copyWithPosition to allow updating the position without resetting the loading period. 3. Forward the total buffered duration to playing position updates as it may have changed with the new playing position. Issue:#4899 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=215712328tonihei committed -
Oliver Woodman committed
-
#4306 - Extract tags from SubRip subtitles, add support for alignment
ojw28 committed -
When SubtitlePainter positions the cues centred in the given box, it must add the left offset of the box to get the correct position. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=215535289
tonihei committed -
SubtitleView forwards the cue box position to SubtitlePainter. This should be the position relative to the canvas of the SubtitleView. Currently, however, we forward the position relative to the parent of SubtitleView. That causes problems if SubtitleView has a non-zero offset position to its parent. Issue:#4788 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=215535281
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=215214894
eguven committed -
If we prepare a deferred media period before the actual timeline is available, we either prepare with position zero (= the default) or with a non-zero initial seek position. So far, the zero (default) position got replaced by the actual default position (including any potential non-zero window offset) when the timeline became known. However, a non-zero initial seek position was not corrected by the non-zero window offset. This is fixed by this change. Related to that, we always assumed that the deferred media period will the first period in the actual timeline. This is not true if we prepare with an offset (either because of an initial seek position or because of a default window position). So, we also determine the actual first period when the timeline becomes known. Issue:#4873 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=215213030
tonihei committed -
This makes the annotations appear in the generated JavaDoc. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=214952419
tonihei committed -
This allows selectAudioTrack() to be overridden.
Andrew Shu committed -
hacker1024 committed
-
- 05 Oct, 2018 1 commit
-
-
Fix markdown
ojw28 committed
-
- 04 Oct, 2018 1 commit
-
-
Apps need to set the target compatibility to VERSION_1_8 to enable the automatic desugaring if they haven't done so already. Issue:#4907
tonihei committed
-
- 27 Sep, 2018 4 commits
-
-
r2.9.0
ojw28 committed -
Oliver Woodman committed
-
If a source is removed from the playlist, the player may still call createPeriod for a period of the removed source as long as the new timeline hasn't been handled by the player. These events are stale and can be ignored by using a dummy media source. The stale media period will be released when the player handles the updated timeline. Issue:#4871 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=214787090
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=214784773
andrewlewis committed
-
- 26 Sep, 2018 1 commit
-
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=214584874
aquilescanta committed
-
- 24 Sep, 2018 4 commits
-
-
Issue: #4834 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=214258163
olly committed -
Issue: #4857 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=214254231
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=214227045
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=213979058
olly committed
-
- 21 Sep, 2018 7 commits
-
-
This method needs to be called whenever the track selection of the current loading period changes, but also when the loading period itself (and thus the "loading track selection") changes. These are the same situations in which we update the loading media period id and thus we can move both updates in a common helper method. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=213959982
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=213951977
olly committed -
From API 23 this uses the timed format queue. Before API 23 the format is notified as soon as the buffer is queued. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=213830729
andrewlewis committed -
Before this change we would reset the start trim to zero after initial configuration (at the start of playback) and after seeking to any position. The fact that no trimming was applied at the start of playback meant that after the first period transition we'd see a mismatch between the next buffer timestamp (equal to the duration of the period taking into account edits) and the duration of audio submitted to the sink. This change modifies the behavior so that we reset the start trim to zero only if some audio was queued since configuration. This is incorrect in the case of starting playback at a non-zero position, but fixes the common case of starting at zero. As before, a later seek to any position is handled via a flush and resets the trim as required. Transitions from one period to the next are unaffected by this change. One way to implement start trimming correctly would be to provide the input buffer timestamp to the audio processors and only trim when handling audio from the start of the stream, but that is a larger change so left for later. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=213828511
andrewlewis committed -
Also fix internal build by adding some methods. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=213828434
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=213824217
andrewlewis committed -
After a period transition the first buffer queued has the sum of previous period durations added to its source presentation timestamp. These durations take into account gapless edits, but the check on the timestamp was based on the submitted frame count, not the frame count after trimming. This change fixes an issue where audio/video would gradually drift apart due to accumulated error in the audio track position, which could lead to freezing due to the audio renderer stopping being ready and switching to the standalone media clock. Issue: #4559 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=213819908
andrewlewis committed
-
- 20 Sep, 2018 10 commits
-
-
Oliver Woodman committed
-
Trackselector filter on framerate
ojw28 committed -
Fixed and random track selection were still overriding the deprecated version of updateSelectedTrack. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=213637728
tonihei committed -
The only use of track selection factories is as adaptive track selection factories in the DefaultTrackSelector. Using the fixed track selection factory here is dangerous as it will throw if more than one track is selected. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=213637500
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=213599127
olly committed -
With default of value set to -1, every single dropped frame is reported because of expression: if (droppedFrames >= maxDroppedFramesToNotify) { maybeNotifyDroppedFrames(); } ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=213502573sharjeel committed -
The decoder doesn't claim to be adaptive, but if we're staying in the same resolution we'll try and re-use the decoder anyway. The H264 decoder can't handle this case on the Tab 4 can't deal with this case. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=213478378
olly committed -
This matches the non-gapless case. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=213462936
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=213451163
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=213443047
aquilescanta committed
-