u8sand / Baka-MPlayer

The libmpv based media player
https://u8sand.github.io/Baka-MPlayer/
GNU General Public License v2.0
433 stars 93 forks source link

open video file on macOS,then baka mplayer will hang & freeze #254

Open kennydiff opened 7 years ago

kennydiff commented 7 years ago

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....

u8sand commented 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?

liberize commented 6 years ago

looks like duplicate of this issue: https://github.com/mpv-player/mpv-examples/issues/11