summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-11-24 14:48:35 +0200
committerSebastian Dröge <sebastian@centricular.com>2016-11-24 14:48:52 +0200
commit2a66653bdca0d77b466313ef21d8129559069aa3 (patch)
tree805de65b1adbf20f3be429ce733568f641041634 /sys
parent166c5333ca8518d2033cd51c4cd40283612b8b3c (diff)
downloadgstreamer-plugins-bad-2a66653bdca0d77b466313ef21d8129559069aa3.tar.gz
decklinkvideosrc: Free timecodes when done with a frame
Diffstat (limited to 'sys')
-rw-r--r--sys/decklink/gstdecklinkvideosrc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/decklink/gstdecklinkvideosrc.cpp b/sys/decklink/gstdecklinkvideosrc.cpp
index 059487d12..cdff18857 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);
}