ZedZone
|
Blog
|
Software
|
Code
projects
/
jjmpeg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
528ea15
)
Don't offset the timestamp by the video start.
author
Michael Zucchi
<notzed@gmail.com>
Wed, 16 Oct 2019 22:15:05 +0000
(08:45 +1030)
committer
Michael Zucchi
<notzed@gmail.com>
Wed, 16 Oct 2019 22:15:05 +0000
(08:45 +1030)
contrib/octave/jjoctave/VideoReader.java
patch
|
blob
|
history
diff --git
a/contrib/octave/jjoctave/VideoReader.java
b/contrib/octave/jjoctave/VideoReader.java
index
cd3b2f0
..
dca883c
100644
(file)
--- 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].
convert
PTS(frames[sid].getPTS());
+ return videos[sid].
absolute
PTS(frames[sid].getPTS());
}
/**