public class PassThroughCodec extends AbstractCodec
PassThroughCodec
passes through all buffers.inputFormat, inputFormats, name, outputFormat, outputFormats
CODEC_FAILED, CODEC_INPUT_NOT_CONSUMED, CODEC_OK, CODEC_OUTPUT_NOT_FILLED
Constructor and Description |
---|
PassThroughCodec() |
Modifier and Type | Method and Description |
---|---|
int |
process(Buffer in,
Buffer out)
Performs the media processing defined by this codec.
|
Format |
setInputFormat(Format f)
Sets the input format.
|
getInputFormat, getInputFormats, getName, getOutputFormat, getOutputFormats, reset, setOutputFormat, toString
public Format setInputFormat(Format f)
Codec
setInputFormat
in interface Codec
setInputFormat
in class AbstractCodec