- 31 Oct, 2022 11 commits
-
-
This allows to throw when the Transformer is stuck or is too slow. PiperOrigin-RevId: 484179037
kimvde committed -
PiperOrigin-RevId: 483983486
samrobinson committed -
PiperOrigin-RevId: 483969411
Googler committed -
From ANSI-CTA-608-E R-2014 section 8.4: > When closed captioning is used on line 21, field 2, it shall conform > to all of the applicable specifications and recommended practices as > defined for field 1 services with the following differences: > 1. The non-printing character of the miscellaneous control-character > pairs that fall in the range of 0x14, 0x20 to 0x14, 0x2F in field 1, > shall be replaced with 0x15, 0x20 to 0x15, 0x2F when used in field > 2. > 2. The non-printing character of the miscellaneous control-character > pairs that fall in the range of 0x1C, 0x20 to 0x1C, 0x2F in field > 1, shall be replaced with 0x1D, 0x20 to 0x1D, 0x2F when used in > field 2. This basically means that `cc1=0x15` in field 2 should be interpreted as `cc1=0x14` in field 1, and same for `0x1D -> 0x1C`. The `isMiscCode` method above already handles this by ignoring the LSB (the only difference between `0x14` and `0x15`, and `0x1C` and `0x1D`) by AND-ing with `0xF6` instead of `0xF7`. This change uses the same trick in `isServiceSwitchCommand`. Issue: google/ExoPlayer#10666 #minor-release PiperOrigin-RevId: 483927506
ibaker committed -
Split inner interface into separate file, which will go in common module. The old interface will be deprecated and extends the new. #cleanup PiperOrigin-RevId: 483732226
samrobinson committed -
PiperOrigin-RevId: 483699606
samrobinson committed -
PiperOrigin-RevId: 483671580
claincly committed -
#minor-release PiperOrigin-RevId: 483633564
ibaker committed -
This is a no-op, but it's more 'correct' because it avoids any potential sign mix-ups that come from storing an unsigned byte (with a potentially set MSB) in a signed java byte variable. PiperOrigin-RevId: 483409798
ibaker committed -
Although it can be useful to check the output format, it's not required or needed. For some AudioProcessor implementations, it is stated/obvious that the output format will match the input, in which case there is no a need to check the return value. #cleanup PiperOrigin-RevId: 483403679
samrobinson committed -
PiperOrigin-RevId: 483386971
Googler committed
-
- 24 Oct, 2022 9 commits
-
-
Also used all-caps consistently PiperOrigin-RevId: 483317405
ibaker committed -
PiperOrigin-RevId: 482755468
bachinger committed -
PiperOrigin-RevId: 482490230
Rohit Singh committed -
PiperOrigin-RevId: 482481703
Rohit Singh committed -
PiperOrigin-RevId: 482461219
michaelkatz committed -
This listener will need to be passed to the MuxerWrapper to throw when the Transformer is stuck. PiperOrigin-RevId: 482433552
kimvde committed -
PiperOrigin-RevId: 482231370
Googler committed -
Make it easier to support use of RGBA_101012 rather than RGBA_8888 for EGL contexts, displays, and surfaces. This tangentially supports adding HDR tests, by slightly simplifying the color selection logic we'd have to add in HDR tests. PiperOrigin-RevId: 482219428
huangdarwin committed -
The reason for making the Muxer public is that we want to add an option to disable or configure the timer that will throw when the muxer doesn't receive any data for a given period of time. PiperOrigin-RevId: 482199360
kimvde committed
-
- 20 Oct, 2022 20 commits
-
-
`transformationMatrix` is not ambiguous, as there's no other local transformationMatrix variable nearby. PiperOrigin-RevId: 482184602
huangdarwin committed -
PiperOrigin-RevId: 482179761
bachinger committed -
PiperOrigin-RevId: 482165983
Marc Baechinger committed -
This was originally added in https://github.com/google/ExoPlayer/commit/4fd7d777b669f6adacc3737a7e15b04a57f030fb, but it hasn't done anything since https://github.com/google/ExoPlayer/commit/98ee159df161c7c8806c0b0490b642738822f6a7 (when the instanceof ExoPlayer check was removed). PiperOrigin-RevId: 482161662
ibaker committed -
Before, they used `width` and `height`, which was inconsistent with other pixel tests, and less descriptive. Refactoring change only. No functional change intended. PiperOrigin-RevId: 481970243
huangdarwin committed -
Currently, repeating the same item (via seekNext/Previous) implicitly results in a seek to the default position of the current item, which looks exactly the same as a direct seek. As a result, we don't send onMediaItemTransition as we would for every other seekNext/Previous call. This can be fixed by explicitly marking the repeat case in the internal BasePlayer/ExoPlayerImpl methods, so that the callback can be triggered. Issue: google/ExoPlayer#10667 PiperOrigin-RevId: 481951788
tonihei committed -
(Also, make some public methods private) PiperOrigin-RevId: 481912071
huangdarwin committed -
This is to prepare Muxer to become public PiperOrigin-RevId: 481893842
kimvde committed -
#cleanup PiperOrigin-RevId: 481882181
samrobinson committed -
In exoplayer2 this affects StyledPlayer(Control)View #minor-release PiperOrigin-RevId: 481878940
ibaker committed -
- The naming DefaultMuxer is more consistent with the rest of Transformer codebase (e.g. DefaultEncoderFactory). - By hiding the implementation details of DefaultMuxer, the transition to in-app Muxer will be seamless for apps using DefaultMuxer. - The current plan is that DefaultMuxer will become the in-app muxer. PiperOrigin-RevId: 481838790
kimvde committed -
PiperOrigin-RevId: 481606248
bachinger committed -
PiperOrigin-RevId: 481605567
bachinger committed -
PiperOrigin-RevId: 481215581
Googler committed -
PiperOrigin-RevId: 481150758
ibaker committed -
PiperOrigin-RevId: 481143798
huangdarwin committed -
This means the null checker can be more sure that these fields don't get reassigned between a null-check and a usage. PiperOrigin-RevId: 481142004
ibaker committed -
PiperOrigin-RevId: 481122795
claincly committed -
PiperOrigin-RevId: 481115402
Marc Baechinger committed -
We already have logic to end all session except the current one if the current one doesn't have a MediaPeriodId yet. This is assuming that this only happens after a seek on the app side where the player doesn't have detailled knowledge about the MediaPeriodIds yet. Currently this logic isn't triggered if the window we are coming from doesn't have its MediaPeriodId either as we run into another check that keeps sessions around until we have a valid windowSequenceNumber. Swapping both conditions fixes this case without breaking any of the other known transition scenarios. Issue: androidx/media#180 PiperOrigin-RevId: 480866465
tonihei committed
-