java.lang.Object
org.monte.media.av.AbstractCodec
org.monte.media.av.codec.time.PassThroughCodec
- All Implemented Interfaces:
Codec
PassThroughCodec passes through all buffers.- Author:
- Werner Randelshofer
-
Field Summary
Fields inherited from class org.monte.media.av.AbstractCodec
inputFormat, inputFormats, name, outputFormat, outputFormatsFields inherited from interface org.monte.media.av.Codec
CODEC_FAILED, CODEC_INPUT_NOT_CONSUMED, CODEC_OK, CODEC_OUTPUT_NOT_FILLED -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.monte.media.av.AbstractCodec
getInputFormat, getInputFormats, getName, getOutputFormat, getOutputFormats, reset, setOutputFormat, toString
-
Constructor Details
-
PassThroughCodec
public PassThroughCodec()
-
-
Method Details
-
setInputFormat
Description copied from interface:CodecSets the input format. Returns the format that was actually set. This is the closest format that the Codec supports. Returns null if the specified format is not supported and no reasonable match could be found.- Specified by:
setInputFormatin interfaceCodec- Overrides:
setInputFormatin classAbstractCodec
-
process
Description copied from interface:CodecPerforms the media processing defined by this codec.Copies the data from the input buffer into the output buffer.
- Returns:
- A combination of processing flags.
-