decklinkvideosink: Always lock the mutex before starting the streams
This commit is contained in:
parent
837eee7085
commit
e9b49018ed
@ -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…
x
Reference in New Issue
Block a user