Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC
Commits
2dee0f7a
Commit
2dee0f7a
authored
Jan 17, 2023
by
Thomas Guillem
Committed by
Steve Lhomme
Jan 21, 2023
Browse files
thumbnailer: signal locked
parent
4ad9af98
Pipeline
#305486
passed with stage
in 25 minutes and 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/input/thumbnailer.c
View file @
2dee0f7a
...
...
@@ -173,9 +173,8 @@ on_thumbnailer_input_event( input_thread_t *input,
if
(
event
->
type
==
INPUT_EVENT_THUMBNAIL_READY
)
task
->
pic
=
picture_Hold
(
event
->
thumbnail
);
vlc_mutex_unlock
(
&
task
->
lock
);
vlc_cond_signal
(
&
task
->
cond_ended
);
vlc_mutex_unlock
(
&
task
->
lock
);
}
static
void
...
...
@@ -254,8 +253,8 @@ Interrupt(task_t *task)
/* Wake up RunnableRun() which will call input_Stop() */
vlc_mutex_lock
(
&
task
->
lock
);
task
->
status
=
INTERRUPTED
;
vlc_mutex_unlock
(
&
task
->
lock
);
vlc_cond_signal
(
&
task
->
cond_ended
);
vlc_mutex_unlock
(
&
task
->
lock
);
}
static
task_t
*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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