summaryrefslogtreecommitdiff
path: root/gst/timecode/gsttimecodestamper.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2017-03-08 15:48:19 +0200
committerSebastian Dröge <sebastian@centricular.com>2017-03-08 15:48:19 +0200
commit6357d3aada4c06447ea9962526ac6f322c175874 (patch)
tree1c1bdd903b593fa004b59c6f7215d420f9cc3309 /gst/timecode/gsttimecodestamper.c
parent82c132aa508d5acfa038b509bd6a7f7963118c5f (diff)
downloadgstreamer-plugins-bad-6357d3aada4c06447ea9962526ac6f322c175874.tar.gz
timecodestamper: Unref daily jam after usage
Diffstat (limited to 'gst/timecode/gsttimecodestamper.c')
-rw-r--r--gst/timecode/gsttimecodestamper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/timecode/gsttimecodestamper.c b/gst/timecode/gsttimecodestamper.c
index 43787f1dd..35e3c3e0c 100644
--- a/gst/timecode/gsttimecodestamper.c
+++ b/gst/timecode/gsttimecodestamper.c
@@ -302,6 +302,7 @@ gst_timecodestamper_reset_timecode (GstTimeCodeStamper * timecodestamper)
timecodestamper->vinfo.interlace_mode ==
GST_VIDEO_INTERLACE_MODE_PROGRESSIVE ? 0 :
GST_VIDEO_TIME_CODE_FLAGS_INTERLACED, 0, 0, 0, 0, 0);
+ g_date_time_unref (jam);
if (timecodestamper->first_tc) {
timecodestamper->current_tc->hours = timecodestamper->first_tc->hours;
timecodestamper->current_tc->minutes = timecodestamper->first_tc->minutes;