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
Show 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
...
@@ -317,17 +317,13 @@ RunIntf( intf_thread_t *p_intf )
...
@@ -317,17 +317,13 @@ RunIntf( intf_thread_t *p_intf )
static
int
InitThread
(
intf_thread_t
*
p_intf
)
static
int
InitThread
(
intf_thread_t
*
p_intf
)
{
{
/* We might need some locking here */
/* 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 */
/* Maybe the input just died */
if
(
p_input
==
NULL
)
if
(
p_input
==
NULL
)
{
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
vlc_mutex_lock
(
&
p_intf
->
change_lock
);
vlc_mutex_lock
(
&
p_intf
->
change_lock
);
...
@@ -339,13 +335,6 @@ static int InitThread( intf_thread_t * p_intf )
...
@@ -339,13 +335,6 @@ static int InitThread( intf_thread_t * p_intf )
p_intf
->
p_sys
->
b_key_pressed
=
false
;
p_intf
->
p_sys
->
b_key_pressed
=
false
;
vlc_mutex_unlock
(
&
p_intf
->
change_lock
);
vlc_mutex_unlock
(
&
p_intf
->
change_lock
);
return
VLC_SUCCESS
;
}
else
{
return
VLC_EGENERIC
;
}
}
}
/*****************************************************************************
/*****************************************************************************
...
...
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