mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
decklinksrc: For the source, unsetting the callback already deletes it
This commit is contained in:
parent
820894a871
commit
c180012d02
1 changed files with 1 additions and 1 deletions
|
@ -558,8 +558,8 @@ gst_decklink_src_stop (GstElement * element)
|
||||||
decklinksrc->input->DisableVideoInput ();
|
decklinksrc->input->DisableVideoInput ();
|
||||||
decklinksrc->input->DisableAudioInput ();
|
decklinksrc->input->DisableAudioInput ();
|
||||||
|
|
||||||
|
/* This deletes the delegate for us already */
|
||||||
decklinksrc->input->SetCallback (NULL);
|
decklinksrc->input->SetCallback (NULL);
|
||||||
delete decklinksrc->delegate;
|
|
||||||
decklinksrc->delegate = NULL;
|
decklinksrc->delegate = NULL;
|
||||||
|
|
||||||
g_list_free_full (decklinksrc->pending_events,
|
g_list_free_full (decklinksrc->pending_events,
|
||||||
|
|
Loading…
Reference in a new issue