Skip to content

Conversation

@softworkz
Copy link
Contributor

@softworkz softworkz commented Jan 2, 2026

In version 0.37, support for the old cocoa backend had been dropped, which unfortunately also removed the ability of embedding mpv in native applications by specifying a wid - which is still working for all other platforms.

This PR aims to remedy that situation by leveraging the existing cocoa-cb implementation which already has just about everything that it takes and it has been merely about gluing loose ends together and omitting those parts that are specific to standalone application use, like NSApplication and NSWindow.

Copilot AI review requested due to automatic review settings January 2, 2026 19:20

This comment was marked as spam.

@softworkz softworkz force-pushed the submit_reenable_mac_wid branch 2 times, most recently from e332032 to 0b00ae9 Compare January 2, 2026 19:33
@softworkz softworkz changed the title cocoa-cb: re-enable wid (NSView) embedding on macOS for libmpv use cocoa-cb: re-enable wid (NSView) embedding on macOS for libmpv use Jan 2, 2026
In version 0.37, support for the old cocoa backend has been dropped,
which unfortunately also removed the ability of embedding mpv in
native applications by specifying a wid - which is still working for all
other platforms.

This PR aims to remedy that situation by leveraging the existing
cocoa-cb implementation which already had just about everything that it
takes and it has been merely about gluing loose ends together and
omitting those parts that are specific to standalone application use,
like NSApplication and NSWindow.
@softworkz softworkz force-pushed the submit_reenable_mac_wid branch from 0b00ae9 to b4aaef0 Compare January 2, 2026 19:43
@diffray-bot

This comment was marked as spam.

@diffray-bot

This comment was marked as spam.

@softworkz
Copy link
Contributor Author

When there's once another AI bot coming to respond, then I'll close this PR.

@CounterPillow
Copy link
Contributor

When there's once another AI bot coming to respond, then I'll close this PR.

Why? Didn't you request all of these to spam this PR?

@na-na-hi
Copy link
Contributor

na-na-hi commented Jan 3, 2026

diffray-bot is spam advertising campaign (look at all these utm_source links) "review"ing code without permission

aidenybai/react-grab#102 (comment)

Just block it.

@kasper93
Copy link
Member

kasper93 commented Jan 3, 2026

Just block it.

Done.

@softworkz
Copy link
Contributor Author

Why? Didn't you request all of these to spam this PR?

I didn't request anything and I never heard of diffray before.
Regarding Copilot, I used to believe that it's a repo setting, but it seems it came from my account (they recently offered me Copilot Pro for free, which I didn't decline), so that part is probably on my own. Disabled now, apologies for that part.

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.

5 participants