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
5f8906e3
Commit
5f8906e3
authored
Sep 03, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No point in checking vlc_object_alive there
parent
20caf788
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
25 deletions
+14
-25
modules/access/vcdx/intf.c
modules/access/vcdx/intf.c
+14
-25
No files found.
modules/access/vcdx/intf.c
View file @
5f8906e3
...
...
@@ -298,8 +298,8 @@ RunIntf( intf_thread_t *p_intf )
}
/* Wait a bit */
msleep
(
INTF_IDLE_SLEEP
);
/* Wait a bit */
msleep
(
INTF_IDLE_SLEEP
);
}
if
(
p_vout
)
...
...
@@ -317,35 +317,24 @@ RunIntf( intf_thread_t *p_intf )
static
int
InitThread
(
intf_thread_t
*
p_intf
)
{
/* We might need some locking here */
if
(
vlc_object_alive
(
p_intf
)
)
{
input_thread_t
*
p_input
;
input_thread_t
*
p_input
;
p_input
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_INPUT
,
FIND_PARENT
);
p_input
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_INPUT
,
FIND_PARENT
);
/* Maybe the input just died */
if
(
p_input
==
NULL
)
{
return
VLC_EGENERIC
;
}
vlc_mutex_lock
(
&
p_intf
->
change_lock
);
/* Maybe the input just died */
if
(
p_input
==
NULL
)
return
VLC_EGENERIC
;
p_intf
->
p_sys
->
p_input
=
p_input
;
p_intf
->
p_sys
->
p_vcdplayer
=
NULL
;
vlc_mutex_lock
(
&
p_intf
->
change_lock
);
p_intf
->
p_sys
->
b_move
=
false
;
p_intf
->
p_sys
->
b_click
=
false
;
p_intf
->
p_sys
->
b_key_pressed
=
false
;
p_intf
->
p_sys
->
p_input
=
p_input
;
p_intf
->
p_sys
->
p_vcdplayer
=
NULL
;
vlc_mutex_unlock
(
&
p_intf
->
change_lock
);
p_intf
->
p_sys
->
b_move
=
false
;
p_intf
->
p_sys
->
b_click
=
false
;
p_intf
->
p_sys
->
b_key_pressed
=
false
;
return
VLC_SUCCESS
;
}
else
{
return
VLC_EGENERIC
;
}
vlc_mutex_unlock
(
&
p_intf
->
change_lock
);
}
/*****************************************************************************
...
...
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