@@ -529,11 +529,11 @@ private void parseIDX1(int length) throws BadHeaderException {
529
529
// For video tracks, if all the frames are not key frames,
530
530
// build the indexToKeyframeIndex table
531
531
// which maps a video frame to a key frame.
532
- System .out .println ("Index keyframes" );
532
+ // System.out.println("Index keyframes");
533
533
for (int i = 0 ; i < numTracks ; i ++) {
534
534
if (trakList [i ].trackType .equals (VIDEO )) {
535
535
int numKeyFrames = trakList [i ].numKeyFrames ;
536
- System .out .println ("Num keyframes " +numKeyFrames );
536
+ // System.out.println("Num keyframes "+numKeyFrames);
537
537
if (numKeyFrames > 0 )
538
538
keyFrameTrack = i ;
539
539
int maxChunkIndex = trakList [i ].maxChunkIndex ;
@@ -610,7 +610,7 @@ public Time setPosition(Time where, int rounding) {
610
610
if (trakInfo .trackType .equals (VIDEO )) {
611
611
if (usecPerFrame != 0 ) {
612
612
chunkNumber = (int ) (where .getNanoseconds () / nanoSecPerFrame );
613
- System .out .println ("Setting position kfNum " +keyframeNum +" chunkNo " +chunkNumber );
613
+ // System.out.println("Setting position kfNum "+keyframeNum+" chunkNo "+chunkNumber);
614
614
if (chunkNumber < 0 )
615
615
chunkNumber = 0 ;
616
616
else if (chunkNumber >= trakInfo .maxChunkIndex ) {
@@ -653,7 +653,7 @@ else if (chunkNumber >= trakInfo.maxChunkIndex) {
653
653
}
654
654
}
655
655
} finally {
656
- System .out .println ("Setting tracks " +keyframeNum +" chunkNo " +chunkNumber );
656
+ // System.out.println("Setting tracks "+keyframeNum+" chunkNo "+chunkNumber);
657
657
((MediaTrack )tracks [i ]).setChunkNumberAndOffset (chunkNumber ,
658
658
offsetWithinChunk );
659
659
}
@@ -662,11 +662,11 @@ else if (chunkNumber >= trakInfo.maxChunkIndex) {
662
662
}
663
663
664
664
public Time getMediaTime () {
665
- System .out .println ("Acquiring media Time" );
665
+ // System.out.println("Acquiring media Time");
666
666
for (int i = 0 ; i <tracks .length ;++i ){
667
667
if (!tracks [i ].isEnabled ()){ continue ;}
668
668
if (tracks [i ] instanceof VideoTrack ) {
669
- System .out .println ("Found VideoTrack " +((VideoTrack ) tracks [i ]).getTimeStamp ());
669
+ // System.out.println("Found VideoTrack "+((VideoTrack) tracks[i]).getTimeStamp());
670
670
return (new Time (((VideoTrack ) tracks [i ]).getTimeStamp ()));
671
671
}
672
672
}
0 commit comments