Project

General

Profile

Actions

Bug #1990

closed

Post processor startdate and enddate error

Added by Zoltan Molnar about 11 years ago. Updated over 10 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
PVR / DVR
Target version:
-
Start date:
2014-03-11
Due date:
% Done:

100%

Estimated time:
Found in version:
3.9.383
Affected Versions:

Description

Hi!

Incorrect addition of the extra time

now:

snprintf(start, sizeof(start), "%"PRItime_t, de->de_start - de->de_start_extra);
snprintf(stop, sizeof(stop), "%"PRItime_t, de->de_stop + de->de_stop_extra);

correct:

snprintf(start, sizeof(start), "%"PRItime_t, de->de_start - (de->de_start_extra * 60));
snprintf(stop, sizeof(stop), "%"PRItime_t, de->de_stop + (de->de_stop_extra * 60));

Actions

Also available in: Atom PDF