Skip to content

feat: android 16k supprtt - #6

Merged
alexmercerind merged 3 commits into
media-kit:mainfrom
Predidit:fix-build
Sep 24, 2025
Merged

alexmercerind merged 3 commits into
media-kit:mainfrom
Predidit:fix-build

Conversation

@Predidit

@Predidit Predidit commented Sep 23, 2025 •

Copy link
Copy Markdown
Member

Part of media-kit/media-kit#1189

All CI passed and outdated native-event-loop has been removed.

@alexmercerind
alexmercerind merged commit 37204b7 into media-kit:main Sep 24, 2025
1 check passed
@alexmercerind

Copy link
Copy Markdown
Member

Thanks a lot! We're really glad.

@Predidit

Copy link
Copy Markdown
Member Author

@alexmercerind

Thank you for inviting me to the media-kit organization.

Inspired by flutter/packages#5884, I’m looking into resolving thread-safety issues in media-kit on Windows and Linux. I noticed media-kit/media-kit#1274 hasn’t been reviewed—understandably so given your health situation and its relative complexity—wishing you a speedy recovery.

On Linux, there’s a much simpler approach using g_idle_add to schedule tasks on the GTK main thread, which only requires a few lines of code. Would you be interested in such a change? If so, I can submit a PR shortly.

@Predidit
Predidit deleted the fix-build branch January 28, 2026 08:14
user1121114685 pushed a commit to user1121114685/libmpv-android-video-build that referenced this pull request May 2, 2026
AfalpHy pushed a commit to AfalpHy/libmpv-android-audio-build that referenced this pull request May 29, 2026
* multi-instance support

* refactor: convert changes from java to kotlin

* refactor: change some property names

* refactor: replace NULL by nullptr

* refactor(event): return nullptr in `event_thread`

* refactor(property): revert some changes

* refactor(render): revert some changes

* fix: fix some issues

* fix(property): fix `observeProperty`

* fix: handle instance not created

* fix: release surface when calling `destroy`

* fix: store and dereference `appCtx` and fix memory leak in `nativeCommand`

* fix: initialize `event_thread_id` to `0` and check when destroying

* fix: make cache global and only init once

---------

Co-authored-by: jarnedemeulemeester <jarnedemeulemeester@gmail.com>
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.

2 participants