Kodi Community Forum

Full Version: Fixed: Kodi crash when trying to play blurays
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Like others have experienced, Kodi 18 fresh from git crashes with a segfault when starting to play blurays. If two lines of code are changed and the modified Kodi is built from source, blurays play without Kodi crashing!

In the source file ~/Kodi/xbmc/cores/VideoPlayer/DVDInputStreams/DVDInputStreamBluray.cpp (around line 400) (!m_dll->bd_open_files(m_bd, &m_rootPath, DllLibbluray::dir_open, DllLibbluray::file_open)) is replaced with (!m_dll->bd_open_disc( m_bd,root.c_str(), NULL)).
And in ~/Kodi/xbmc/filesystem/BlurayDirectory.cpp (around line 280), the same substitution is made. A rebuild produces a Kodi18 that can play blurays without crashing.

dgktkr