mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
decklinkvideosrc: Free timecodes when done with a frame
This commit is contained in:
parent
166c5333ca
commit
2a66653bdc
1 changed files with 2 additions and 0 deletions
|
@ -59,6 +59,8 @@ capture_frame_free (void *data)
|
||||||
CaptureFrame *frame = (CaptureFrame *) data;
|
CaptureFrame *frame = (CaptureFrame *) data;
|
||||||
|
|
||||||
frame->frame->Release ();
|
frame->frame->Release ();
|
||||||
|
if (frame->tc)
|
||||||
|
gst_video_time_code_free (frame->tc);
|
||||||
g_free (frame);
|
g_free (frame);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue