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
256184cb
Commit
256184cb
authored
Aug 08, 2013
by
Petri Hintukainen
Committed by
Rafaël Carré
Aug 16, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bluray: use navigation keys (DEMUX_NAV_...)
Signed-off-by:
Rafaël Carré
<
funman@videolan.org
>
parent
58035595
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
modules/access/bluray.c
modules/access/bluray.c
+20
-0
No files found.
modules/access/bluray.c
View file @
256184cb
...
...
@@ -654,6 +654,15 @@ static int onMouseEvent(vlc_object_t *p_vout, const char *psz_var, vlc_value_t o
return
VLC_SUCCESS
;
}
static
int
sendKeyEvent
(
demux_sys_t
*
p_sys
,
unsigned
int
key
)
{
mtime_t
now
=
mdate
();
if
(
bd_user_input
(
p_sys
->
bluray
,
now
,
key
)
<
0
)
{
return
VLC_EGENERIC
;
}
return
VLC_SUCCESS
;
}
/*****************************************************************************
* libbluray overlay handling:
*****************************************************************************/
...
...
@@ -1124,6 +1133,17 @@ static int blurayControl(demux_t *p_demux, int query, va_list args)
return
VLC_SUCCESS
;
}
case
DEMUX_NAV_ACTIVATE
:
return
sendKeyEvent
(
p_sys
,
BD_VK_ENTER
);
case
DEMUX_NAV_UP
:
return
sendKeyEvent
(
p_sys
,
BD_VK_UP
);
case
DEMUX_NAV_DOWN
:
return
sendKeyEvent
(
p_sys
,
BD_VK_DOWN
);
case
DEMUX_NAV_LEFT
:
return
sendKeyEvent
(
p_sys
,
BD_VK_LEFT
);
case
DEMUX_NAV_RIGHT
:
return
sendKeyEvent
(
p_sys
,
BD_VK_RIGHT
);
case
DEMUX_CAN_RECORD
:
case
DEMUX_GET_FPS
:
case
DEMUX_SET_GROUP
:
...
...
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