Fixed -unixts option

This commit is contained in:
Izaron 2016-12-12 17:18:24 +03:00
parent 943bb576a9
commit 7d60f558d5

View File

@ -1077,6 +1077,13 @@ int encode_sub(struct encoder_ctx *context, struct cc_subtitle *sub)
}
data->end_time = data->end_time + context->subs_delay;
if (utc_refvalue != UINT64_MAX)
{
data->start_time += utc_refvalue * 1000;
data->end_time += utc_refvalue * 1000;
}
switch (context->write_format)
{
case CCX_OF_SRT: