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
e60de0fe
Commit
e60de0fe
authored
Feb 25, 2007
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed double input_thread_t free for VOD.
parent
617726b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
src/input/vlm.c
src/input/vlm.c
+11
-8
No files found.
src/input/vlm.c
View file @
e60de0fe
...
...
@@ -2486,21 +2486,24 @@ static int Manage( vlc_object_t* p_object )
vlm_media_instance_t
*
p_instance
=
p_media
->
instance
[
j
];
if
(
!
p_instance
->
p_input
||
(
!
p_instance
->
p_input
->
b_eof
&&
!
p_instance
->
p_input
->
b_error
)
)
continue
;
input_StopThread
(
p_instance
->
p_input
);
input_DestroyThread
(
p_instance
->
p_input
);
(
!
p_instance
->
p_input
->
b_eof
&&
!
p_instance
->
p_input
->
b_error
)
)
continue
;
p_instance
->
i_index
++
;
if
(
p_instance
->
i_index
==
p_media
->
i_input
&&
p_
media
->
b_loop
)
p_
instance
->
i_index
=
0
;
if
(
p_instance
->
i_index
>=
p_media
->
i_input
&&
p_media
->
b_loop
)
p_instance
->
i_index
=
0
;
if
(
p_instance
->
i_index
<
p_media
->
i_input
)
{
/* FIXME, find a way to select the right instance */
char
buffer
[
12
];
input_StopThread
(
p_instance
->
p_input
);
input_DestroyThread
(
p_instance
->
p_input
);
p_instance
->
p_input
=
NULL
;
/* FIXME, find a way to select the right instance */
sprintf
(
buffer
,
"%d"
,
p_instance
->
i_index
+
1
);
vlm_MediaControl
(
vlm
,
p_media
,
p_instance
->
psz_name
,
"play"
,
buffer
);
}
...
...
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