From b31a6837cd8aefe7ddc090b673338bc123ae83c1 Mon Sep 17 00:00:00 2001 From: Michael Zucchi Date: Thu, 17 Oct 2019 08:45:05 +1030 Subject: [PATCH] Don't offset the timestamp by the video start. --- contrib/octave/jjoctave/VideoReader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/octave/jjoctave/VideoReader.java b/contrib/octave/jjoctave/VideoReader.java index cd3b2f0..dca883c 100644 --- a/contrib/octave/jjoctave/VideoReader.java +++ b/contrib/octave/jjoctave/VideoReader.java @@ -163,7 +163,7 @@ public class VideoReader { * @return Frame timestamp in milliseconds. */ public long getTimeStamp(int sid) { - return videos[sid].convertPTS(frames[sid].getPTS()); + return videos[sid].absolutePTS(frames[sid].getPTS()); } /** -- 2.39.5