mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
timecodestamper: Only unref daily jam if not NULL
This commit is contained in:
parent
6357d3aada
commit
9b5c46ca57
1 changed files with 2 additions and 1 deletions
|
@ -302,7 +302,8 @@ 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 (jam)
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue