From 2a66653bdca0d77b466313ef21d8129559069aa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 24 Nov 2016 14:48:35 +0200 Subject: [PATCH] decklinkvideosrc: Free timecodes when done with a frame --- sys/decklink/gstdecklinkvideosrc.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/decklink/gstdecklinkvideosrc.cpp b/sys/decklink/gstdecklinkvideosrc.cpp index 059487d129..cdff18857b 100644 --- a/sys/decklink/gstdecklinkvideosrc.cpp +++ b/sys/decklink/gstdecklinkvideosrc.cpp @@ -59,6 +59,8 @@ capture_frame_free (void *data) CaptureFrame *frame = (CaptureFrame *) data; frame->frame->Release (); + if (frame->tc) + gst_video_time_code_free (frame->tc); g_free (frame); }