mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
timecodestamper: Unref daily jam after usage
This commit is contained in:
parent
82c132aa50
commit
6357d3aada
1 changed files with 1 additions and 0 deletions
|
@ -302,6 +302,7 @@ gst_timecodestamper_reset_timecode (GstTimeCodeStamper * timecodestamper)
|
||||||
timecodestamper->vinfo.interlace_mode ==
|
timecodestamper->vinfo.interlace_mode ==
|
||||||
GST_VIDEO_INTERLACE_MODE_PROGRESSIVE ? 0 :
|
GST_VIDEO_INTERLACE_MODE_PROGRESSIVE ? 0 :
|
||||||
GST_VIDEO_TIME_CODE_FLAGS_INTERLACED, 0, 0, 0, 0, 0);
|
GST_VIDEO_TIME_CODE_FLAGS_INTERLACED, 0, 0, 0, 0, 0);
|
||||||
|
g_date_time_unref (jam);
|
||||||
if (timecodestamper->first_tc) {
|
if (timecodestamper->first_tc) {
|
||||||
timecodestamper->current_tc->hours = timecodestamper->first_tc->hours;
|
timecodestamper->current_tc->hours = timecodestamper->first_tc->hours;
|
||||||
timecodestamper->current_tc->minutes = timecodestamper->first_tc->minutes;
|
timecodestamper->current_tc->minutes = timecodestamper->first_tc->minutes;
|
||||||
|
|
Loading…
Reference in a new issue