Open kennydiff opened 7 years ago
Please refer to #154 for this issue.
-- edit --
My mistake; this line of code is very high level. Given that you are able to pick a video file, this code is working. Given that it won't play, your mpv installation is most likely the culprit. Can you provide any error messages that might get spit out on the command line?
looks like duplicate of this issue: https://github.com/mpv-player/mpv-examples/issues/11
i debug the problem . i follow the problem is from these code .
void BakaEngine::Open() { mpv->LoadFile(QFileDialog::getOpenFileName(window, tr("Open File"),mpv->getPath(), QString("%0 (%1);;").arg(tr("Media Files"), Mpv::media_filetypes.join(" "))+ QString("%0 (%1);;").arg(tr("Video Files"), Mpv::video_filetypes.join(" "))+ QString("%0 (%1);;").arg(tr("Audio Files"), Mpv::audio_filetypes.join(" "))+ QString("%0 (*.*)").arg(tr("All Files")), 0, QFileDialog::DontUseSheet)); }
when i picked a video file ,then the app freeze.. ohz....