diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-11-24 14:48:35 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-11-24 14:48:52 +0200 |
commit | 2a66653bdca0d77b466313ef21d8129559069aa3 (patch) | |
tree | 805de65b1adbf20f3be429ce733568f641041634 /sys | |
parent | 166c5333ca8518d2033cd51c4cd40283612b8b3c (diff) | |
download | gstreamer-plugins-bad-2a66653bdca0d77b466313ef21d8129559069aa3.tar.gz |
decklinkvideosrc: Free timecodes when done with a frame
Diffstat (limited to 'sys')
-rw-r--r-- | sys/decklink/gstdecklinkvideosrc.cpp | 2 |
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); } |