Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
92777ea1
Commit
92777ea1
authored
May 30, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* input.c: set access2->b_die.
parent
82e174bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
src/input/input.c
src/input/input.c
+11
-3
No files found.
src/input/input.c
View file @
92777ea1
...
...
@@ -340,7 +340,8 @@ input_thread_t *__input_CreateThread( vlc_object_t *p_parent,
*****************************************************************************/
void
input_StopThread
(
input_thread_t
*
p_input
)
{
demux_t
*
p_demux
;
demux_t
*
p_demux
;
access_t
*
p_access
;
/* Make the thread exit from a possible vlc_cond_wait() */
vlc_mutex_lock
(
&
p_input
->
stream
.
stream_lock
);
...
...
@@ -348,14 +349,21 @@ void input_StopThread( input_thread_t *p_input )
/* Request thread destruction */
/* Temporary demux2 hack */
p_demux
=
(
demux_t
*
)
vlc_object_find
(
p_input
,
VLC_OBJECT_DEMUX
,
FIND_CHILD
);
p_demux
=
(
demux_t
*
)
vlc_object_find
(
p_input
,
VLC_OBJECT_DEMUX
,
FIND_CHILD
);
if
(
p_demux
)
{
p_demux
->
b_die
=
1
;
vlc_object_release
(
p_demux
);
}
/* Temporary access2 hack */
p_access
=
(
access_t
*
)
vlc_object_find
(
p_input
,
VLC_OBJECT_ACCESS
,
FIND_CHILD
);
if
(
p_access
)
{
p_access
->
b_die
=
1
;
vlc_object_release
(
p_access
);
}
p_input
->
b_die
=
1
;
vlc_cond_signal
(
&
p_input
->
stream
.
stream_wait
);
...
...
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