Fix netbeans fucking around
authorMichael Zucchi <notzed@gmail.com>
Wed, 16 Oct 2019 22:14:34 +0000 (08:44 +1030)
committerMichael Zucchi <notzed@gmail.com>
Wed, 16 Oct 2019 22:14:34 +0000 (08:44 +1030)
src/notzed.jjmpeg/classes/au/notzed/jjmpeg/io/JJMediaReader.java

index dbb047a..9892eaf 100644 (file)
@@ -97,7 +97,6 @@ public class JJMediaReader implements AutoCloseable {
                        switch (cp.getCodecType()) {
                        case AVMediaType.AVMEDIA_TYPE_VIDEO:
                                streams[i] = new JJReaderVideo(s, cp);
-                               s.setDiscard(AVDiscardBits.AVDISCARD_NONE);
                                break;
                        case AVMediaType.AVMEDIA_TYPE_AUDIO:
                                streams[i] = new JJReaderAudio(s, cp);
@@ -259,7 +258,7 @@ public class JJMediaReader implements AutoCloseable {
         *
         * @return
         */
-       public JJReaderStream readFrameOLD() throws AVIOException {
+       public JJReaderStream readFrame() throws AVIOException {
 
                if (freePacket) {
                        packet.clear();
@@ -301,7 +300,7 @@ public class JJMediaReader implements AutoCloseable {
 
        JJReaderStream last;
 
-       public JJReaderStream readFrame() throws AVIOException {
+       public JJReaderStream readFrameX() throws AVIOException {
                if (freePacket) {
                        packet.clear();
                }