Methods Summary |
---|
public javax.media.protocol.ContentDescriptor | getContentDescriptor()Gets the output content-type specified by this ProcessorModel .
return outputContentDescriptor;
|
public javax.media.protocol.DataSource | getInputDataSource()Gets the input DataSource that specifies the media source for this ProcessorModel .
The inputLocator is ignored
if this value is non-null.
return inputDataSource;
|
public javax.media.MediaLocator | getInputLocator()Gets the input MediaLocator that specifies the media source for this ProcessorModel .
This value is ignored if an input DataSource is specified.
return inputLocator;
|
public javax.media.Format | getOutputTrackFormat(int tIndex)Gets the preferred Format of the specified track.
if (formats != null && formats.length > tIndex)
return formats[tIndex];
return null;
|
public int | getTrackCount(int availableTrackCount)Gets the number of tracks required as the output of the
Processor constructed with this ProcessorModel .
if (formats != null)
return formats.length;
return -1;
|
public boolean | isFormatAcceptable(int tIndex, javax.media.Format tFormat)Checks whether or not tFormat is an acceptable format for the track
tIndex .
if (formats != null && formats.length > tIndex) {
if (tFormat.matches(formats[tIndex]))
return true;
else
return false;
}
return true;
|