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
c53b4c33
Commit
c53b4c33
authored
Jan 08, 2004
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/video_output/caca.c:
+ Updated for libcaca 0.7.
parent
5d751eab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
17 deletions
+14
-17
modules/video_output/caca.c
modules/video_output/caca.c
+14
-17
No files found.
modules/video_output/caca.c
View file @
c53b4c33
/*****************************************************************************
* caca.c: Color ASCII Art video output plugin using libcaca
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: caca.c,v 1.
5 2004/01/04 04:50:24
sam Exp $
* Copyright (C) 2003
, 2004
VideoLAN
* $Id: caca.c,v 1.
6 2004/01/08 19:22:10
sam Exp $
*
* Authors: Sam Hocevar <sam@zoy.org>
*
...
...
@@ -199,11 +199,9 @@ static int Manage( vout_thread_t *p_vout )
int
event
;
vlc_value_t
val
;
while
((
event
=
caca_get_event
()
))
while
((
event
=
caca_get_event
(
CACA_EVENT_KEY_PRESS
)
))
{
if
(
event
&
CACA_EVENT_KEY_PRESS
)
{
switch
(
event
&
0xffff
)
switch
(
event
&
0x00ffffff
)
{
case
'q'
:
val
.
i_int
=
KEY_MODIFIER_CTRL
|
'q'
;
...
...
@@ -217,7 +215,6 @@ static int Manage( vout_thread_t *p_vout )
var_Set
(
p_vout
->
p_vlc
,
"key-pressed"
,
val
);
}
}
return
VLC_SUCCESS
;
}
...
...
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