Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
56195089
Commit
56195089
authored
Feb 13, 2014
by
Petri Hintukainen
Committed by
Jean-Baptiste Kempf
Feb 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bluray: enable pop-up menu
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
e1a9f330
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
modules/access/bluray.c
modules/access/bluray.c
+12
-0
No files found.
modules/access/bluray.c
View file @
56195089
...
...
@@ -136,6 +136,8 @@ struct demux_sys_t
bluray_overlay_t
*
p_overlays
[
MAX_OVERLAY
];
int
current_overlay
;
// -1 if no current overlay;
bool
b_menu
;
bool
b_menu_open
;
bool
b_popup_available
;
/* */
input_thread_t
*
p_input
;
...
...
@@ -1393,6 +1395,9 @@ static int blurayControl(demux_t *p_demux, int query, va_list args)
}
case
DEMUX_NAV_ACTIVATE
:
if
(
p_sys
->
b_popup_available
&&
!
p_sys
->
b_menu_open
)
{
return
sendKeyEvent
(
p_sys
,
BD_VK_POPUP
);
}
return
sendKeyEvent
(
p_sys
,
BD_VK_ENTER
);
case
DEMUX_NAV_UP
:
return
sendKeyEvent
(
p_sys
,
BD_VK_UP
);
...
...
@@ -1502,6 +1507,13 @@ static void blurayHandleEvent(demux_t *p_demux, const BD_EVENT *e)
break
;
case
BD_EVENT_ANGLE
:
break
;
case
BD_EVENT_MENU
:
p_sys
->
b_menu_open
=
e
->
param
;
break
;
case
BD_EVENT_POPUP
:
p_sys
->
b_popup_available
=
e
->
param
;
/* TODO: show / hide pop-up menu button in gui ? */
break
;
/*
* stream selection events
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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