decklinkvideosrc: Free timecodes when done with a frame

This commit is contained in:
Sebastian Dröge 2016-11-24 14:48:35 +02:00
parent 166c5333ca
commit 2a66653bdc

View file

@ -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);
}