decklinksrc: For the source, unsetting the callback already deletes it
This commit is contained in:
parent
820894a871
commit
c180012d02
@ -558,8 +558,8 @@ gst_decklink_src_stop (GstElement * element)
|
||||
decklinksrc->input->DisableVideoInput ();
|
||||
decklinksrc->input->DisableAudioInput ();
|
||||
|
||||
/* This deletes the delegate for us already */
|
||||
decklinksrc->input->SetCallback (NULL);
|
||||
delete decklinksrc->delegate;
|
||||
decklinksrc->delegate = NULL;
|
||||
|
||||
g_list_free_full (decklinksrc->pending_events,
|
||||
|
Loading…
x
Reference in New Issue
Block a user