mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
decklinkvideosink: Always lock the mutex before starting the streams
This commit is contained in:
parent
837eee7085
commit
e9b49018ed
1 changed files with 2 additions and 0 deletions
|
@ -738,8 +738,10 @@ gst_decklink_video_sink_change_state (GstElement * element,
|
|||
break;
|
||||
}
|
||||
case GST_STATE_CHANGE_PAUSED_TO_PLAYING:{
|
||||
g_mutex_lock (&self->output->lock);
|
||||
if (self->output->start_scheduled_playback)
|
||||
self->output->start_scheduled_playback (self->output->videosink);
|
||||
g_mutex_unlock (&self->output->lock);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue