Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
a2e5e656
Commit
a2e5e656
authored
Jan 27, 2003
by
Olivier Teulière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* The space bar is a hotkey for pause/resume.
parent
553f1be2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
2 deletions
+19
-2
modules/gui/win32/mainframe.cpp
modules/gui/win32/mainframe.cpp
+1
-0
modules/gui/win32/mainframe.dfm
modules/gui/win32/mainframe.dfm
+3
-1
modules/video_output/directx/events.c
modules/video_output/directx/events.c
+15
-1
No files found.
modules/gui/win32/mainframe.cpp
View file @
a2e5e656
...
...
@@ -741,3 +741,4 @@ void __fastcall TMainFrameDlg::CreatePreferences( AnsiString Name )
}
//---------------------------------------------------------------------------
modules/gui/win32/mainframe.dfm
View file @
a2e5e656
...
...
@@ -2558,6 +2558,7 @@ object MainFrameDlg: TMainFrameDlg
Enabled = False
Hint = 'Pause stream'
ImageIndex = 6
ShortCut = 32
OnExecute = PauseActionExecute
end
object StopAction: TAction
...
...
@@ -2663,7 +2664,7 @@ object MainFrameDlg: TMainFrameDlg
Category = 'Menu'
Caption = 'Messages...'
Hint = 'Open the messages window'
ShortCut = 1646
1
ShortCut = 1646
0
OnExecute = MessagesActionExecute
end
object AboutAction: TAction
...
...
@@ -2722,6 +2723,7 @@ object MainFrameDlg: TMainFrameDlg
Category = 'Control'
Caption = '&Mute'
Hint = 'Toggle mute'
ShortCut = 16461
OnExecute = MuteActionExecute
end
object OnTopAction: TAction
...
...
modules/video_output/directx/events.c
View file @
a2e5e656
...
...
@@ -2,7 +2,7 @@
* events.c: Windows DirectX video output events handler
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: events.c,v 1.
9 2003/01/26 02:22:5
9 ipkiss Exp $
* $Id: events.c,v 1.
10 2003/01/27 01:42:1
9 ipkiss Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -32,6 +32,7 @@
#include <vlc/vlc.h>
#include <vlc/intf.h>
#include <vlc/input.h>
#include <vlc/vout.h>
#include "netutils.h"
...
...
@@ -166,6 +167,19 @@ void DirectXEventThread( event_thread_t *p_event )
p_event
->
p_vlc
->
b_die
=
VLC_TRUE
;
break
;
case
VK_SPACE
:
{
vlc_object_t
*
p_input
=
vlc_object_find
(
p_event
->
p_vout
,
VLC_OBJECT_INPUT
,
FIND_ANYWHERE
);
if
(
p_input
)
{
input_SetStatus
(
(
input_thread_t
*
)
p_input
,
INPUT_STATUS_PAUSE
);
vlc_object_release
(
p_input
);
}
break
;
}
case
VK_F1
:
network_ChannelJoin
(
p_event
,
1
);
break
;
case
VK_F2
:
network_ChannelJoin
(
p_event
,
2
);
break
;
case
VK_F3
:
network_ChannelJoin
(
p_event
,
3
);
break
;
...
...
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