- 15 Jun, 2016 40 commits
-
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=120123489
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=120123335
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=120123223
olly committed -
This is the first step toward merging of RollingSampleBuffer and DefaultTrackOutput, which is a precursor to removing some indirection for DASH/SS playbacks, and to moving HLS playbacks to use a single output buffer per track (with inline splicing). Where this is heading is that sample format changes will eventually be attached to samples in the rolling buffer. This will eliminate the need for piping sample formats around the edges of the rolling buffer (e.g. via redirection in ChunkExtractorWrapper and BaseMediaChunk.getSampleFormat). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=120123093
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=120119973
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=120115490
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=120107182
andrewlewis committed -
There's a more nuanced version of this where we actually disable on the loading side, but it's quite tricky to get the threading just right. I have a change that I'll probably manage to clean up and send out at some point. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=120106967
olly committed -
Oops, forgot this from my previous CL! ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=120104992
olly committed -
Issue: #1428 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119952373
olly committed -
- Use same constant for unknown/unset microsecond times/durations. - Change constant values to be nowhere near the "normal" range. - Misc cleanup. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119944019
olly committed -
For DASH + SS, sample data is currently plumbed through: Extractor ->ChunkExtractorWrapper ->ContainerMediaChunk ->DefaultTrackOutput ->RollingSampleNBuffer This change bypasses the ContainerMediaChunk layer. It should be possible to completely delete DefaultTrackOutput in the future, but such a change may well be tied to changes in HLS format splicing + how we buffer (or don't buffer) disabled tracks. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119853857
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119843448
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119842923
aquilescanta committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119842861
olly committed -
prepare(SampleSource) is renamed to setSource(SampleSource). The player immediately transitions to STATE_BUFFERING when the source is set, at which point doSomeWork is called. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119838825
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119759105
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119758106
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119752741
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119748182
eguven committed -
Allow styling <v Someone>Hello</v> with ::cue(v[voice="Someone"]) { ... }. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119748009aquilescanta committed -
TrackRenderer and SampleSourceTrackRenderer both now use a TrackStream so they can be merged. (This may also be useful for adding playlist support, in case TrackStreams need to be replaced during playback.) ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119743228
andrewlewis committed -
This CL allows style blocks to reference elements. For example: we could style a cue with text "Sometimes <b>bold</b> is not enough" with the style block ::cue(b) { ... }. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119734779aquilescanta committed -
This is in preparation for the player knowing about the live window, at which point only correct playback positions will be passed into ChunkSource implementations. Note that both implementations bound the chunk index within range in case of, for example, off-by-one errors caused by very recent manifest updates. This will temporarily cause live playbacks to always start at the beginning of the current live window (we'll be trying to play from t=0, which will be adjusted to the start of the live window as a result of the bounding). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119733559
olly committed -
FrameworkSampleSource will still be useful for audio, where sample interleaving isn't an issue. We could optionally add a "don't wait for first frame" boolean to the video renderer if we *really* need to keep some form of this workaround in place, but I'd rather not do so for now. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119733224
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119732992
olly committed -
Also add jni/flac directory to .gitignore. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119730955
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119655941
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119643009
eguven committed -
In CSS, ids are references using #. The absence of # references elements. NOTE: If the id of a cue was "1", we support its reference with ::cue(#1). In CSS, however, this is not valid, and the number should be escaped with \3 as in ::cue(\31). We still do not use number escaping (and I doubt whether we should at some point). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119634708
aquilescanta committed -
This CL removes a warning by adding the import, and removes a qualified reference in the process. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119618343
aquilescanta committed -
This CL adds the support of CSS styling in Cues through id and "universal" cue selector. The more sophisticated selectors will be left for later, because they requier a bit more complex logic. Also narrowed a little bit the responsibilities of the WebvttCueParser to move some to the WebvttParser. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119547731
aquilescanta committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119544516
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119532634
andrewlewis committed -
Both of these features are being promoted to first class citizens in V2 (multi-period support will be handled via playlists, seeking-in-window will be handled by exposing the window/timeline from the player and via the normal seek API). For now, it's much easier to continue the refactoring process with the features removed. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119518675
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119393264
cblay committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119211619
olly committed -
https://github.com/google/ExoPlayer/pull/1397
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119182077
olly committed -
Note that the DataSourceInputStream read methods are implementing a different interface (InputStream, not DataSource), which is why -1 is still used in that case. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119180851
olly committed -
This method is needed by FlacExtractor to release native resources. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119143922
eguven committed
-