-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[mpv] missing cdda & dvdnav features #23211
Comments
Thank you for reporting the issue. I have added a pull request to fix this issue. Would you like to test the packages from GitHub Actions artifacts of that pull request? https://github.com/msys2/MINGW-packages/actions/runs/13005037936 |
Thanks! CD playback now works as expected with all of the built packages.
DVD playback works in MINGW64 & UCRT64.
Hitting an assertion in libdvdnav with CLANG64 though: |
Narrowed it down to libdvdread. Building against this commit fixes the crash for me: |
Awesome 👍 I have emailed the author of that commit to confirm it. |
We also have this patch in VLC. It is necessary for LLVM builds. It has been merged upstream but there's no release with it yet. |
Is that the only patch required to fix the llvm related issue? |
That's the minimum one. There's a set of patches that avoids reading packed structures straight to memory but it hasn't been approved yet (but tests show it's working fine) Then there's dvdnav that needs patching. It can also do with these patches to avoid more asserts/exit on bogus DVDs. |
Thanks for the info. I don't have the hardware to test those patches. I shall keep this issue open for those who can fix it with proper testing. |
Package name
mpv
New version number
N/A
Other information that may be useful
The mpv package currently depends on libcdio, libcdio-paranoia, libdvdnav & libdvdread but doesn't enable the related features.
Seems like it was enabled before the switch to Meson:
https://github.com/lazka/MINGW-packages/blob/e0d5ae00d1b21721da4371249145735b3c113cc1/mingw-w64-mpv/PKGBUILD#L73-L91
Would be cool to have them enabled again. Arch does it but none of the Windows builds from mpv.io do.
Are you willing to submit a PR?
Yes
The text was updated successfully, but these errors were encountered: