Fixes for seeking.
authorMichael Zucchi <notzed@gmail.com>
Mon, 21 Oct 2019 01:14:13 +0000 (11:44 +1030)
committerMichael Zucchi <notzed@gmail.com>
Mon, 21 Oct 2019 01:14:13 +0000 (11:44 +1030)
commitcc37b311db158ddb52fb3aedd9e41e137a17b43d
tree9445a3d2587c926c16f52430e0f0950554380359
parentf39a10db1daf44c2429a19fa994a04ba4cde3d84
Fixes for seeking.
 - Change convertPTS() to not offset by the stream start.
 - When seeking use an offset of ~32 frames to in order to hit a key frame.
 - Provide another seek function which takes the keyframe for seek.
Some formatting changes.
Revert some java9+ code that broke jjoctave.
contrib/octave/jjoctave/VideoReader.java
src/notzed.jjmpeg/classes/au/notzed/jjmpeg/AVRational.java
src/notzed.jjmpeg/classes/au/notzed/jjmpeg/io/JJMediaReader.java