- 03 Mar, 2022 4 commits
-
-
PiperOrigin-RevId: 431658068
hschlueter committed -
Only log GL exceptions in GlUtil if they aren't thrown. Otherwise, it's up to the caller whether or not to log them to avoid logging them twice. PiperOrigin-RevId: 431657397
hschlueter committed -
Destroying the context destroys all of OpenGL (see https://www.khronos.org/opengl/wiki/OpenGL_Context), so deleting textures is redundant. PiperOrigin-RevId: 431653728
hschlueter committed -
This test tests the same cases as the FrameEditorDataProcessingTest as currently the main FrameEditor functionality is to apply a transformation matrix using a TransformationFrameProcessor. PiperOrigin-RevId: 431642066
hschlueter committed
-
- 01 Mar, 2022 15 commits
-
-
Test list can be structured so tests don't need to be in different classes, cleaning up the location of new test cases. PiperOrigin-RevId: 431492941
samrobinson committed -
PiperOrigin-RevId: 431479473
claincly committed -
PiperOrigin-RevId: 431451974
hschlueter committed -
As evidenced by the somewhat awkward logic in PlayerControlView, the previous design wasn't very friendly to expected usage. There will be more usage when the track selection dialog components are migrated, which would be similarly awkward without this change. PiperOrigin-RevId: 431407675
olly committed -
PiperOrigin-RevId: 431395359
Ian Baker committed -
PiperOrigin-RevId: 431376857
ibaker committed -
When a live stream is joined while ads are already playing, the LOADED event is missed and we don't have ad information for those ads in the ad group that are before the ad index at which we joined. This way we can clip the duration when we receive the LOADED event for the last ad in the group. This fixes the problem of the playback controls being hidden when content resumes after the ad group. #minor-release PiperOrigin-RevId: 431269627
bachinger committed -
We use SSIM to measure the transcoding quality between. SSIM is a widely used tool that compares the luma channel between two images, and generates a score from 0 to 1 that indicates "how similar" the two images are. In `SsimHelper`, we decode the two videos, extract matching frames and calculates the mean SSIM (SSIM averaged all matching frames) for both videos. Matching frames are referred to as "comparisonFrame" in the CL, which is selected based on the frame number and a user-set comparison interval. For instance, if the interval is 7, then every seventh frames are compared. We use MediaCodec/MediaExtractor to decode the video, and use ImageReader to extract the decoded frame. The SSIM calculation logic is a inspired by and modified from the CTS [MSSIMMatcher](https://cs.android.com/android/platform/superproject/+/master:cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/MSSIMComparer.java;l=1?q=mssimcom) that has some errors and extra features we don't need (like handling RGB images). Adds TranscodeQualityTest to ensure high quality transcoding. PiperOrigin-RevId: 430951206
claincly committed -
When investigating how 'bad' a failure is, it's useful to see the diff between input and output bitmaps. PiperOrigin-RevId: 430917732
samrobinson committed -
The command is not needed, because the specified branch is already the default branch on GitHub so will be checked out by clone automatically. PiperOrigin-RevId: 430910549
ibaker committed -
https://github.com/google/ExoPlayer/commit/9961d918a9a7352abdb71434a272276444d2362a
*** Original commit *** Rollback of https://github.com/google/ExoPlayer/commit/8d9c4f4774a1eb0d89989963365ad0a7ae013ec4 *** Original commit *** Rollback of https://github.com/google/ExoPlayer/commit/43b796b64d629ba8b79516c43161c966d90ae786 *** Original commit *** Rollback of https://github.com/google/ExoPlayer/commit/08c5b1cb0a876a1e5059778bc133476e0a5f314d *** Original commit *** PiperOrigin-RevId: 430905772
ibaker committed -
Issue: google/ExoPlayer#9996 #minor-release PiperOrigin-RevId: 430773329
olly committed -
The AsyncronousMediaCodecAdapter should call MediaCodec.start() on the same thread it calls MediaCodec.flush(), i.e. the playback thread. This change removes the experimental flag that allowed calling MediaCodec.start() from the callback thread. The flag was flipped to true already. PiperOrigin-RevId: 430689665
christosts committed -
Generated by running: ./gradlew wrapper --gradle-version 7.4 --distribution-type all #minor-release PiperOrigin-RevId: 430666317
ibaker committed -
This method throws an UnsupportedOperationException on some Android 12 devices. PiperOrigin-RevId: 430647264
ibaker committed
-
- 28 Feb, 2022 1 commit
-
-
This can fix the following warning caused by commit a7aa84a8: Warning: com.google.android.exoplayer2.drm.UnsupportedDrmException.Reason: The typedef annotation should have @Retention(RetentionPolicy.SOURCE) Author: Tony Guo <tony.guo.peng@gmail.com> Date: Mon Feb 28 10:56:52 2022 +0800
Tony Guo committed
-
- 23 Feb, 2022 5 commits
-
-
#minor-release PiperOrigin-RevId: 430456963
ibaker committed -
#minor-release PiperOrigin-RevId: 430454251
ibaker committed -
#minor-release PiperOrigin-RevId: 430437927
ibaker committed -
These helpers will also be useful for future frame processor tests outside FrameEditorDataProcessingTest. PiperOrigin-RevId: 430409172
hschlueter committed -
Also replace the bitmaps with bitmaps obtained by following the instructions. PiperOrigin-RevId: 430232369
hschlueter committed
-
- 22 Feb, 2022 12 commits
-
-
PiperOrigin-RevId: 430220416
andrewlewis committed -
#minor-release PiperOrigin-RevId: 430200331
ibaker committed -
We need to access internal state to work around resources not being released on old API versions. Add a reference to the bug about this and suppress the lint warning. #minor-release PiperOrigin-RevId: 430190794
andrewlewis committed -
#minor-release PiperOrigin-RevId: 430189385
ibaker committed -
All (later customizable) GlFrameProcessors after the ExternalCopyFrameProcessor receive their input from a normal OpenGL texture not an external texture, so they won't need to worry about the textureTransformMatrix. PiperOrigin-RevId: 430165652
hschlueter committed -
getCurrentTrackGroups and getCurrentTrackSelections are retained for now, but moved from Player to ExoPlayer, to ease the transition for some application code that currently uses these methods. PiperOrigin-RevId: 430036355
olly committed -
As per https://github.com/google/ExoPlayer/commit/f2ad8ccd3cab30fb3960bc456e1766815be79eea, log tags can not be longer than 23 chars. PiperOrigin-RevId: 430032243
samrobinson committed -
#mse-bug-week PiperOrigin-RevId: 430028245
huangdarwin committed -
PiperOrigin-RevId: 429999620
olly committed -
There are two major blockers to this test: - H265 muxing is not available for API<24, so setting video mimeType to H265 will fail on those devices. - AMR audio encoding is buggy on some device and it's not a widely used format. The solution: use a video that is encoded with AVC/MP3, to ensure transcoding to AVC/AAC. PiperOrigin-RevId: 429648598
claincly committed -
Re-enable tests that have no muxer support for timestamps going backwards. Tests running on the B-frame sample will be added in a future commit. #mse-bug-week PiperOrigin-RevId: 429599177
samrobinson committed -
https://github.com/google/ExoPlayer/commit/8d9c4f4774a1eb0d89989963365ad0a7ae013ec4
*** Original commit *** Rollback of https://github.com/google/ExoPlayer/commit/43b796b64d629ba8b79516c43161c966d90ae786 *** Original commit *** Rollback of https://github.com/google/ExoPlayer/commit/08c5b1cb0a876a1e5059778bc133476e0a5f314d *** Original commit *** Wire up MediaMetricsListener and add configuration to... *** PiperOrigin-RevId: 429585773
ibaker committed
-
- 18 Feb, 2022 3 commits
-
-
This class will contain additional details such as frame count, once implemented. #mse-bug-week PiperOrigin-RevId: 429567678
samrobinson committed -
PiperOrigin-RevId: 429566102
Ian Baker committed -
We use the `createForCodec` method that does not take a `MediaFormat` during transformation, the error message always includes "no configured MediaFormat", which is false. PiperOrigin-RevId: 429553573
claincly committed
-