Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
ff619dd6
Commit
ff619dd6
authored
Feb 20, 2002
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./plugins/lirc/lirc.c: fixed my mistakes from yesterday.
parent
232fd7bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
plugins/lirc/lirc.c
plugins/lirc/lirc.c
+9
-3
No files found.
plugins/lirc/lirc.c
View file @
ff619dd6
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* lirc.c : lirc plugin for vlc
* lirc.c : lirc plugin for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* Copyright (C) 2002 VideoLAN
* $Id: lirc.c,v 1.
4 2002/02/19 03:54:55
sam Exp $
* $Id: lirc.c,v 1.
5 2002/02/20 01:47:01
sam Exp $
*
*
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
*
*
...
@@ -140,15 +140,20 @@ static void intf_Run( intf_thread_t *p_intf )
...
@@ -140,15 +140,20 @@ static void intf_Run( intf_thread_t *p_intf )
char
*
code
;
char
*
code
;
char
*
c
;
char
*
c
;
/* Manage core vlc functions through the callback */
p_intf
->
pf_manage
(
p_intf
);
while
(
!
p_intf
->
b_die
&&
lirc_nextcode
(
&
code
)
==
0
)
while
(
!
p_intf
->
b_die
&&
lirc_nextcode
(
&
code
)
==
0
)
{
{
printf
(
"code
\n
"
);
if
(
code
==
NULL
)
if
(
code
==
NULL
)
{
{
continue
;
continue
;
}
}
while
(
!
p_intf
->
b_die
&&
c
!=
NULL
while
(
!
p_intf
->
b_die
&&
lirc_code2char
(
p_intf
->
p_sys
->
config
,
code
,
&
c
)
==
0
)
&&
lirc_code2char
(
p_intf
->
p_sys
->
config
,
code
,
&
c
)
==
0
&&
c
!=
NULL
)
{
{
if
(
!
strcmp
(
c
,
"QUIT"
)
)
if
(
!
strcmp
(
c
,
"QUIT"
)
)
{
{
...
@@ -265,5 +270,6 @@ static void intf_Run( intf_thread_t *p_intf )
...
@@ -265,5 +270,6 @@ static void intf_Run( intf_thread_t *p_intf )
/* Manage core vlc functions through the callback */
/* Manage core vlc functions through the callback */
p_intf
->
pf_manage
(
p_intf
);
p_intf
->
pf_manage
(
p_intf
);
}
}
printf
(
"end of intf
\n
"
);
}
}
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