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
9119f4fa
Commit
9119f4fa
authored
Nov 04, 2008
by
Sébastien Escudier
Committed by
Rémi Denis-Courmont
Nov 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input_DetachSout corrections
Signed-off-by:
Rémi Denis-Courmont
<
rdenis@simphalempin.com
>
parent
77b33ced
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
src/input/input.c
src/input/input.c
+1
-0
src/input/vlm.c
src/input/vlm.c
+2
-2
No files found.
src/input/input.c
View file @
9119f4fa
...
@@ -490,6 +490,7 @@ void input_StopThread( input_thread_t *p_input )
...
@@ -490,6 +490,7 @@ void input_StopThread( input_thread_t *p_input )
sout_instance_t
*
input_DetachSout
(
input_thread_t
*
p_input
)
sout_instance_t
*
input_DetachSout
(
input_thread_t
*
p_input
)
{
{
assert
(
p_input
->
b_dead
);
sout_instance_t
*
p_sout
=
p_input
->
p
->
p_sout
;
sout_instance_t
*
p_sout
=
p_input
->
p
->
p_sout
;
vlc_object_detach
(
p_sout
);
vlc_object_detach
(
p_sout
);
p_input
->
p
->
p_sout
=
NULL
;
p_input
->
p
->
p_sout
=
NULL
;
...
...
src/input/vlm.c
View file @
9119f4fa
...
@@ -768,8 +768,8 @@ static void vlm_MediaInstanceDelete( vlm_media_instance_sys_t *p_instance )
...
@@ -768,8 +768,8 @@ static void vlm_MediaInstanceDelete( vlm_media_instance_sys_t *p_instance )
if
(
p_input
)
if
(
p_input
)
{
{
input_StopThread
(
p_input
);
input_StopThread
(
p_input
);
p_instance
->
p_sout
=
input_DetachSout
(
p_input
);
vlc_thread_join
(
p_input
);
vlc_thread_join
(
p_input
);
p_instance
->
p_sout
=
input_DetachSout
(
p_input
);
vlc_object_release
(
p_input
);
vlc_object_release
(
p_input
);
}
}
if
(
p_instance
->
p_sout
)
if
(
p_instance
->
p_sout
)
...
@@ -846,8 +846,8 @@ static int vlm_ControlMediaInstanceStart( vlm_t *p_vlm, int64_t id, const char *
...
@@ -846,8 +846,8 @@ static int vlm_ControlMediaInstanceStart( vlm_t *p_vlm, int64_t id, const char *
}
}
input_StopThread
(
p_input
);
input_StopThread
(
p_input
);
p_instance
->
p_sout
=
input_DetachSout
(
p_input
);
vlc_thread_join
(
p_input
);
vlc_thread_join
(
p_input
);
p_instance
->
p_sout
=
input_DetachSout
(
p_input
);
vlc_object_release
(
p_input
);
vlc_object_release
(
p_input
);
if
(
!
p_instance
->
b_sout_keep
&&
p_instance
->
p_sout
)
if
(
!
p_instance
->
b_sout_keep
&&
p_instance
->
p_sout
)
{
{
...
...
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