public Format[] getSupportedOutputFormats(Format f) {
System.err.println("mp4v.DePacketizer: getting for f = " + f);
if (f == null) return defaultOutputFormats;
else if (f.getEncoding().equalsIgnoreCase(IN_ENCODING)) {
if (f instanceof VideoFormat) {
VideoFormat vf = (VideoFormat)f;
VideoFormat supOutFmt = new VideoFormat(OUT_ENCODING, vf.getSize() == null ? new Dimension(DEF_WIDTH, DEF_HEIGHT):vf.getSize(), vf.getMaxDataLength(), Format.byteArray, vf.getFrameRate());
System.err.println("mp4v.DePacketizer: supported Output Format = " + supOutFmt);
return new Format[] { supOutFmt };
} else return new Format[] {new VideoFormat(OUT_ENCODING, new Dimension(DEF_WIDTH, DEF_HEIGHT), Format.NOT_SPECIFIED, Format.byteArray, Format.NOT_SPECIFIED) };
}
System.err.println("mp4v.DePacketizer: getSupportedOutputFormats f = " + f);
return new Format[0];
}