cxfksword / MPVKit

mpv library for iOS, macOS, tvOS applications
GNU General Public License v3.0
72 stars 18 forks source link

WebVTT broken in 0.37.0 #18

Open arekf opened 6 months ago

arekf commented 6 months ago

Hi, it seems recent release has broken support for WebVTT subtitles.

I've tried to investigate and noticed webvtt is no longer listed in list of enabled demuxers. I tried to add it (https://github.com/yattee/MPVKit/commit/d3f0467f4c2e94a2765571010c739009f46365c8) and rebuild, but I am receiving another error (about missing reference to avdevice_register_all). Didn't try to investigate further yet, if I manage to fix it I will try to send a PR but any input is appreciated.

Thanks

cxfksword commented 5 months ago

I tried to play the WebVTT URL and the subtitles were able to load. But mpv loaded it lazily. It seems that an enabled demuxer is not required.