Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Ewout ter Hoeven
VLC-Android
Commits
bbc25004
Commit
bbc25004
authored
Jul 07, 2014
by
Edward Wang
Browse files
VideoPlayerActivity: move title count condition to menu determining condition
parent
3e15c2e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
View file @
bbc25004
...
...
@@ -2228,8 +2228,8 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
}
private
void
updateNavStatus
()
{
mHasMenu
=
mLibVLC
.
getChapterCountForTitle
(
0
)
>
1
;
mIsNavMenu
=
mHasMenu
&&
mLibVLC
.
getTitle
()
==
0
&&
mLibVLC
.
getTitleCount
()
>
1
;
mHasMenu
=
mLibVLC
.
getChapterCountForTitle
(
0
)
>
1
&&
mLibVLC
.
getTitleCount
()
>
1
;
mIsNavMenu
=
mHasMenu
&&
mLibVLC
.
getTitle
()
==
0
;
/***
* HACK ALERT: assume that any media with >1 titles = DVD with menus
* Should be replaced with a more robust title/chapter selection popup
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment