Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[android] Fix incorrect JNI call on MediaCodecBridge #4218

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

borongc
Copy link
Contributor

@borongc borongc commented Oct 7, 2024

This is the same PR as #4112.

Original commit message:

Fix incorrect JNI call on MediaCodecBridge start(). A new argument CreateMediaCodecBridgeResult was added in PR 3672. However, the corresponding JNI call didn't change, which could cause native crash by player_worker.

b/366746149
b/320568573
b/364415911

@borongc borongc force-pushed the fix_android_flush_restart branch 2 times, most recently from e679f9f to 710e5fe Compare October 21, 2024 17:48
@borongc borongc force-pushed the fix_android_flush_restart branch from 710e5fe to ebedae6 Compare November 19, 2024 21:05
@borongc borongc force-pushed the fix_android_flush_restart branch from ebedae6 to 5489258 Compare November 20, 2024 20:26
@borongc borongc force-pushed the fix_android_flush_restart branch from 5489258 to 197deab Compare January 9, 2025 09:32
This is the same PR as youtube#4112.

Original commit message:

Fix incorrect JNI call on MediaCodecBridge start(). A new argument CreateMediaCodecBridgeResult was added in [PR 3672](youtube#3672). However, the corresponding JNI call didn't change, which could cause native crash by player_worker.

b/366746149
b/320568573
b/364415911
@borongc borongc force-pushed the fix_android_flush_restart branch from 197deab to 9207299 Compare January 9, 2025 09:48
@borongc borongc requested a review from osagie98 January 9, 2025 09:48
@borongc borongc merged commit 7bf51b3 into youtube:main Jan 9, 2025
60 of 61 checks passed
@borongc borongc deleted the fix_android_flush_restart branch January 9, 2025 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants