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
ec815603
Commit
ec815603
authored
Jun 07, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lirc: don't use input_ChangeArea.
parent
78b17927
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
20 deletions
+2
-20
modules/control/lirc.c
modules/control/lirc.c
+2
-20
No files found.
modules/control/lirc.c
View file @
ec815603
...
...
@@ -462,30 +462,12 @@ static void Run( intf_thread_t *p_intf )
if
(
!
strcmp
(
c
,
"CHAPTER_N"
)
)
{
vlc_mutex_lock
(
&
p_input
->
stream
.
stream_lock
);
i_chapter
=
p_input
->
stream
.
p_selected_area
->
i_part
+
1
;
vlc_mutex_unlock
(
&
p_input
->
stream
.
stream_lock
);
var_SetVoid
(
p_input
,
"next-chapter"
);
}
else
if
(
!
strcmp
(
c
,
"CHAPTER_P"
)
)
{
vlc_mutex_lock
(
&
p_input
->
stream
.
stream_lock
);
i_chapter
=
p_input
->
stream
.
p_selected_area
->
i_part
-
1
;
vlc_mutex_unlock
(
&
p_input
->
stream
.
stream_lock
);
var_SetVoid
(
p_input
,
"prev-chapter"
);
}
vlc_mutex_lock
(
&
p_input
->
stream
.
stream_lock
);
if
(
(
i_chapter
>
0
)
&&
(
i_chapter
<
p_input
->
stream
.
p_selected_area
->
i_part_nb
)
)
{
input_area_t
*
p_area
=
p_input
->
stream
.
p_selected_area
;
p_input
->
stream
.
p_selected_area
->
i_part
=
i_chapter
;
vlc_mutex_unlock
(
&
p_input
->
stream
.
stream_lock
);
input_ChangeArea
(
p_input
,
p_area
);
var_SetInteger
(
p_input
,
"state"
,
PLAYING_S
);
vlc_mutex_lock
(
&
p_input
->
stream
.
stream_lock
);
}
vlc_mutex_unlock
(
&
p_input
->
stream
.
stream_lock
);
}
/* end of modification by stephane Thu Jun 19 15:29:49 CEST 2003 */
}
...
...
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