Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
41d8d0be
Commit
41d8d0be
authored
Sep 11, 2009
by
Sébastien Escudier
Committed by
Rémi Denis-Courmont
Sep 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vod preparsing : if muxer is specified, only wait for input_item_IsPreparsed
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
d2054d2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/input/vlm.c
src/input/vlm.c
+3
-2
No files found.
src/input/vlm.c
View file @
41d8d0be
...
...
@@ -75,7 +75,8 @@ static int InputEventPreparse( vlc_object_t *p_this, char const *psz_cmd,
VLC_UNUSED
(
p_this
);
VLC_UNUSED
(
psz_cmd
);
VLC_UNUSED
(
oldval
);
vlc_sem_t
*
p_sem_preparse
=
p_data
;
if
(
newval
.
i_int
==
INPUT_EVENT_DEAD
)
if
(
newval
.
i_int
==
INPUT_EVENT_DEAD
||
newval
.
i_int
==
INPUT_EVENT_ITEM_META
)
vlc_sem_post
(
p_sem_preparse
);
return
VLC_SUCCESS
;
...
...
@@ -574,7 +575,7 @@ static int vlm_OnMediaUpdate( vlm_t *p_vlm, vlm_media_sys_t *p_media )
vlc_sem_init
(
&
sem_preparse
,
0
);
var_AddCallback
(
p_input
,
"intf-event"
,
InputEventPreparse
,
&
sem_preparse
);
if
(
!
p_input
->
b_dead
)
while
(
!
p_input
->
b_dead
&&
(
!
p_cfg
->
vod
.
psz_mux
||
!
input_item_IsPreparsed
(
p_media
->
vod
.
p_item
)
)
)
vlc_sem_wait
(
&
sem_preparse
);
var_DelCallback
(
p_input
,
"intf-event"
,
InputEventPreparse
,
&
sem_preparse
);
...
...
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