- 01 Feb, 2023 30 commits
-
-
PiperOrigin-RevId: 505960752
claincly committed -
Add checks to GL tone-mapping pixel tests, to ensure the device's decoder, API version, and OpenGL implementation support GL tone-mapping before attempting it. These tests should be run on mobile harness, to detect per-device failures, and so are moved to transforemr/mh. Per b/263395272, these tests should ultimately be in an effect/mh directory. PiperOrigin-RevId: 505749974
huangdarwin committed -
On some devices/builds it seems that the `SurfaceView` constructor tries to create a handler. Move instantiation to the main thread when getting the debug surface view so that handler creation succeeds. PiperOrigin-RevId: 505745387
andrewlewis committed -
Make clearer the intermediate matrix property names. PiperOrigin-RevId: 505732563
samrobinson committed -
This change fixes an issue that can be reproduced when a controller `onConnect` creates a `QueueTimeline` out of the state of a legacy session and then `prepare` is called. `activeQueueItemId`, `metadata` and the `queue` of the legacy session are used when a `QueueTimeline` is created. The change adds unit tests to cover the different combinatoric cases these properties being set or unset. PiperOrigin-RevId: 505731288
bachinger committed -
PiperOrigin-RevId: 505720834
samrobinson committed -
PiperOrigin-RevId: 505671326
kimvde committed -
PiperOrigin-RevId: 505670386
kimvde committed -
ParcelFileDescriptor is quite specific and removing it allows to have less overloads of startTransformation. A follow-up CL will undeprecate the overload that takes a MediaItem. PiperOrigin-RevId: 505670321
kimvde committed -
AudioProcessor-based speed changes are not supported with offload, so we should use the AudioTrack-based speed changes by default if the user requests a speed change. This moves the decision of which speed change path is used into the Configuration, so that it can change for each AudioTrack in a playlist. PiperOrigin-RevId: 505621911
tonihei committed -
#cleanup #minor-release PiperOrigin-RevId: 505146915
bachinger committed -
Otherwise, it's not clear if it's the expected output. Renaming-only change. No functional change intended. PiperOrigin-RevId: 505103740
huangdarwin committed -
When seeking in fMP4, we try to extract as little samples as possible by only starting at the preceding sync frame. This comparison should use <= to allow sync frames at exactly the seek position. Issue: google/ExoPlayer#10941 #minor-release PiperOrigin-RevId: 505098172
tonihei committed -
This makes it easier to reason about some parts of the code and will eventually allow to easily switch between AudioProcessor- based on AudioSink-based speed adjustment. The current state saves the applicable playback parameters in separate variables depending on which speed adjustment path is used. Moreover, the AudioProcessor-based logic keeps a chain of pending parameter changes and we derive the last applicable one everytime we need the current parameters. After this change, this is simplified by - keeping a common value for playback parameters independent of the actual path we use for adjustment. - keeping the final ("current") parameters directly, instead of deriving it from a chain of yet to be applied parameters. PiperOrigin-RevId: 505097294tonihei committed -
PiperOrigin-RevId: 505084963
samrobinson committed -
Issue: androidx/media#233 #minor-release PiperOrigin-RevId: 505078751
bachinger committed -
MergingMediaPeriod creates its track groups with ids concatenating position in its periods array and the underlying child track group id. The ids can be used in selectTracks for matching to periods list. Issue: google/ExoPlayer#10930 PiperOrigin-RevId: 505074653
michaelkatz committed -
For most missing commands, we already disable the corresponding controls. This change extends this to more UI elements that are disabled in case the corresponding action is unavailable. #minor-release PiperOrigin-RevId: 505057751
tonihei committed -
PiperOrigin-RevId: 505047245
kimvde committed -
- Usages in 1P apps have been removed. - setResolution should be removed when refactoring fallback. PiperOrigin-RevId: 505043425
kimvde committed -
PiperOrigin-RevId: 504867150
kimvde committed -
producesExpectedOutput -> matchesGoldenFile PiperOrigin-RevId: 504863604
huangdarwin committed -
This is necessary in order to move HDR to SDR tone-mapping tests to transformer/mh. PiperOrigin-RevId: 504858508
huangdarwin committed -
PiperOrigin-RevId: 504847212
huangdarwin committed -
This is confusing, since the effect is used not only when applying an effect, but also when preparing an effect (ex. in a texture processor's constructor), so we should also mention that case. PiperOrigin-RevId: 504843598
huangdarwin committed -
Tested adding 3, 15,16 different overlays in a single OverlayTextureProcessor. The program errored out when 16 overlays were added. PiperOrigin-RevId: 504810157
tofunmi committed -
PiperOrigin-RevId: 504796380
huangdarwin committed -
`FrameProcessorManager` now reports it's not ready when the output surface is set but not the output resolution. `FrameProcessorManager` allows playback without an output surface, like with ExoPlayer. PiperOrigin-RevId: 504626088
claincly committed -
PiperOrigin-RevId: 504611069
samrobinson committed -
This is necessary in order to move HDR to SDR tone-mapping tests to transformer/mh, and to move the test runner to androidx.media3.test-utils, which should not have to include androidx.media3.effects. PiperOrigin-RevId: 504607929
huangdarwin committed
-
- 25 Jan, 2023 10 commits
-
-
The commands are partly checked already before enabling features or calling player methods, but the checks were still missing in many places. #minor-release PiperOrigin-RevId: 504589888
tonihei committed -
Also add a Builder to EditedMediaItem to avoid having a constructor with many optional parameters, or a chain of constructors. PiperOrigin-RevId: 504588544
kimvde committed -
This was missed in https://github.com/androidx/media/commit/47349b8c4bd69415da8895061be71ef748c4a2d3 #minor-release PiperOrigin-RevId: 504548659
ibaker committed -
Rename tests using the action state expectation pattern. PiperOrigin-RevId: 504546583
huangdarwin committed -
These attributes are required when importing our artifacts into androidx-main in order to generate reference documentation (JavaDoc and KDoc). #minor-release PiperOrigin-RevId: 504502555
ibaker committed -
This information may be needed for applications to create their own OpenGL contexts and textures passed into or interacting with Effects. PiperOrigin-RevId: 504342258
huangdarwin committed -
This allows a MediaController to understand which methods calls are available on a legacy session. PiperOrigin-RevId: 504306806
tonihei committed -
ImaUtil calls VideoProgressUpdate.equals() which is annotated as hidden, which causes lint errors with gradle. #minor-release PiperOrigin-RevId: 504306210
christosts committed -
PiperOrigin-RevId: 504273335
huangdarwin committed -
Created unified MediaUtils method to handle various logic for calling Player.setMediaItems from MediaSessionStub and MediaSessionLegacyStub PiperOrigin-RevId: 504271877
michaelkatz committed
-