mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
timecodestamper: Plug a leak
This commit is contained in:
parent
fa2916a159
commit
fb888dada1
1 changed files with 3 additions and 0 deletions
|
@ -1147,6 +1147,9 @@ gst_timecodestamper_transform_ip (GstBaseTransform * vfilter,
|
||||||
|| timecodestamper->reset_internal_tc_from_seek) {
|
|| timecodestamper->reset_internal_tc_from_seek) {
|
||||||
gchar *tc_str;
|
gchar *tc_str;
|
||||||
|
|
||||||
|
if (timecodestamper->internal_tc)
|
||||||
|
gst_video_time_code_free (timecodestamper->internal_tc);
|
||||||
|
|
||||||
timecodestamper->reset_internal_tc_from_seek = FALSE;
|
timecodestamper->reset_internal_tc_from_seek = FALSE;
|
||||||
if (timecodestamper->set_internal_tc) {
|
if (timecodestamper->set_internal_tc) {
|
||||||
timecodestamper->internal_tc =
|
timecodestamper->internal_tc =
|
||||||
|
|
Loading…
Reference in a new issue