sub: don't truncate timestamps to int
Realistically probably no problem at all since they're in ms and usually start from 0, but whatever.
This commit is contained in:
1 parent
78fe1d3a2c
commit
7a65c44922
1 file changed
+1
-1
+1
-1
@@ -344,7 +344,7 @@ static void multiply_timings(struct packet_list *subs, double factor)
|
||||
}
|
||||
}
|
||||
|
||||
#define MS_TS(f_ts) ((int)((f_ts) * 1000 + 0.5))
|
||||
#define MS_TS(f_ts) ((long long)((f_ts) * 1000 + 0.5))
|
||||
|
||||
// Remove overlaps and fill gaps between adjacent subtitle packets. This is done
|
||||
// by adjusting the duration of the earlier packet. If the gaps or overlap are
|
||||
|
||||
Reference in new issue
Block a user