mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +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->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…
Reference in a new issue