projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1509b1
)
decklinkvideosink: fix segfault when audiosink is closed before videosink
author
admin
<brad.reitmeyer@livingasone.com>
Tue, 6 Nov 2018 17:06:01 +0000
(11:06 -0600)
committer
Sebastian Dröge
<slomo@coaxion.net>
Tue, 6 Nov 2018 17:19:16 +0000
(17:19 +0000)
sys/decklink/gstdecklinkvideosink.cpp
patch
|
blob
|
history
diff --git
a/sys/decklink/gstdecklinkvideosink.cpp
b/sys/decklink/gstdecklinkvideosink.cpp
index
d961795
..
a510908
100644
(file)
--- a/
sys/decklink/gstdecklinkvideosink.cpp
+++ b/
sys/decklink/gstdecklinkvideosink.cpp
@@
-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);