Commit add2103f authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Workaround for mkv with chapters

parent d2ff03f0
......@@ -2880,7 +2880,7 @@ public class VideoPlayerActivity extends ActionBarActivity implements IVideoPlay
}
private void updateNavStatus() {
mHasMenu = mLibVLC.getChapterCountForTitle(0) > 1 && mLibVLC.getTitleCount() > 1;
mHasMenu = mLibVLC.getChapterCountForTitle(0) > 1 && mLibVLC.getTitleCount() > 1 && !mLocation.endsWith(".mkv");
mIsNavMenu = mHasMenu && mLibVLC.getTitle() == 0;
/***
* HACK ALERT: assume that any media with >1 titles = DVD with menus
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment