mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
decklinkvideosink: fix segfault when audiosink is closed before videosink
This commit is contained in:
parent
b1509b1047
commit
8af8fd62dd
1 changed files with 1 additions and 1 deletions
|
@ -822,7 +822,7 @@ gst_decklink_video_sink_close (GstBaseSink * bsink)
|
|||
g_mutex_lock (&self->output->lock);
|
||||
self->output->mode = NULL;
|
||||
self->output->video_enabled = FALSE;
|
||||
if (self->output->start_scheduled_playback)
|
||||
if (self->output->start_scheduled_playback && self->output->videosink)
|
||||
self->output->start_scheduled_playback (self->output->videosink);
|
||||
g_mutex_unlock (&self->output->lock);
|
||||
|
||||
|
|
Loading…
Reference in a new issue