- 05 Nov, 2019 29 commits
-
-
PiperOrigin-RevId: 277916639
ibaker committed -
PiperOrigin-RevId: 277916508
ibaker committed -
PiperOrigin-RevId: 277916279
ibaker committed -
PiperOrigin-RevId: 277916113
ibaker committed -
PiperOrigin-RevId: 277911191
tonihei committed -
PiperOrigin-RevId: 277910909
ibaker committed -
PiperOrigin-RevId: 277910360
kimvde committed -
PiperOrigin-RevId: 277896757
andrewlewis committed -
PiperOrigin-RevId: 277766372
kimvde committed -
PiperOrigin-RevId: 277744735
kimvde committed -
PiperOrigin-RevId: 277732159
olly committed -
PiperOrigin-RevId: 277729887
olly committed -
PiperOrigin-RevId: 277710160
ibaker committed -
PiperOrigin-RevId: 277709114
olly committed -
Suggested by Android Studio's Inspect Code SO seems to think there's a performance difference for the | change: https://stackoverflow.com/questions/22132450/why-is-a-character-class-faster-than-alternation PiperOrigin-RevId: 277707341
ibaker committed -
PiperOrigin-RevId: 277706810
olly committed -
The value is stateful and new sessions need to be informed of the current state PiperOrigin-RevId: 277701955
tonihei committed -
PiperOrigin-RevId: 277695826
bachinger committed -
PiperOrigin-RevId: 277691935
aquilescanta committed -
This should not introduce any functional changes. PiperOrigin-RevId: 277691550
aquilescanta committed -
E-AC3 with JOC is signaled using the CHANNELS attribute for HLS: https://developer.apple.com/documentation/http_live_streaming/hls_authoring_specification_for_apple_devices/hls_authoring_specification_for_apple_devices_appendices PiperOrigin-RevId: 277680300
andrewlewis committed -
Some methods marked as throwing DecoderQueryException actually did not throw it. Switch to marking throws Exception everywhere. PiperOrigin-RevId: 277674401
andrewlewis committed -
Relevant part of the spec: https://www.w3.org/TR/webvtt1/#processing-cue-settings PiperOrigin-RevId: 277523694
ibaker committed -
This means multiple failures are all logged, instead of the test stopping when the first assertion fails. Makes tests like this with lots of independent assertions much easier to work with. I limited the expect to a single assertCues() call, otherwise the error message gets very long and is hard to read, but I still think this is an improvement. PiperOrigin-RevId: 277523300
ibaker committed -
Cue's UNSET and null values should be used when the source data doesn't specify *and* the spec doesn't provide a clear default. In the WebVTT case, the defaults are clear, so we use them explicitly. PiperOrigin-RevId: 277522899
ibaker committed -
PiperOrigin-RevId: 277519718
tonihei committed -
PiperOrigin-RevId: 277489763
andrewlewis committed -
PiperOrigin-RevId: 277477784
aquilescanta committed -
PiperOrigin-RevId: 277462799
andrewlewis committed
-
- 30 Oct, 2019 11 commits
-
-
The framework opus decoder discards some samples after a call to flush(). Because we flush a decoder that is being retained across an input format change, this means that the start of audio gets truncated when transitioning to a new opus stream. See also https://android.googlesource.com/platform/frameworks/av/+/refs/heads/android10-release/media/libstagefright/codecs/opus/dec/SoftOpus.cpp. Avoid this by recreating opus decoders instead of flushing them. It seems fine to do this for all opus decoders as reinitialization should be cheap, OEM-provided implementations may also discard samples and playback shouldn't be interrupted on reinitialization due to the downstream AudioTrack buffer. PiperOrigin-RevId: 277458759
andrewlewis committed -
The nested ternary is quite hard to read imo, and I believe this is a no-op change that captures the intent more clearly. PiperOrigin-RevId: 277320461
ibaker committed -
The demo app was using this via its dependency on the material library, but it's preferable to list dependencies explicitly (otherwise the build would break if we removed the material dependency). PiperOrigin-RevId: 277316175
andrewlewis committed -
PiperOrigin-RevId: 277259448
aquilescanta committed -
Which ensures both get updated when the MediaSessionConnector player changes. Issue:#6582 PiperOrigin-RevId: 277254889
aquilescanta committed -
PiperOrigin-RevId: 277253308
aquilescanta committed -
This helps get HlsMediaPeriod off the blacklist. PiperOrigin-RevId: 277076633
ibaker committed -
Update it to throw if hasNext() is false, to match Java's Iterator interface. This also simplifies the null-checking annotations required PiperOrigin-RevId: 277059766
ibaker committed -
PiperOrigin-RevId: 277057328
aquilescanta committed -
PiperOrigin-RevId: 277056574
aquilescanta committed -
The leanback library doesn't know about non-square pixels. So if we're playing content that uses non-square pixels, we need to adjust the video dimensions that we provide to leanback such that it renders the video with the correct aspect ratio. PiperOrigin-RevId: 277042560
olly committed
-