mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
Format with google-java-format
This commit is contained in:
parent
84df55c6e8
commit
3cccecf368
4 changed files with 5 additions and 4 deletions
|
|
@ -76,7 +76,6 @@ public interface VideoGraph {
|
|||
* <p>If the method throws, the caller must call {@link #release}.
|
||||
*
|
||||
* @param sequenceIndex The sequence index of the input which can aid ordering of the inputs.
|
||||
*
|
||||
* @return The id of the registered input, which can be used to get the underlying {@link
|
||||
* VideoFrameProcessor} via {@link #getProcessor(int)}.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -50,9 +50,10 @@ public interface VideoCompositor extends GlTextureProducer {
|
|||
* source, to be used in {@link #queueInputTexture}.
|
||||
*
|
||||
* @param sequenceIndex The sequence index of the input source, which is can be used to determine
|
||||
* the order of the input sources.
|
||||
* the order of the input sources.
|
||||
*/
|
||||
int registerInputSource(int sequenceIndex);
|
||||
|
||||
/**
|
||||
* Signals that no more frames will come from the upstream {@link GlTextureProducer.Listener}.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ import java.util.List;
|
|||
* @throws ExportException If an error occurs getting the input.
|
||||
*/
|
||||
public abstract GraphInput getInput(
|
||||
EditedMediaItem editedMediaItem, Format format, int sequenceIndex) throws ExportException;
|
||||
EditedMediaItem editedMediaItem, Format format, int sequenceIndex) throws ExportException;
|
||||
|
||||
/**
|
||||
* Processes the input data and returns whether it may be possible to process more data by calling
|
||||
|
|
|
|||
|
|
@ -154,7 +154,8 @@ import org.checkerframework.dataflow.qual.Pure;
|
|||
}
|
||||
|
||||
@Override
|
||||
public GraphInput getInput(EditedMediaItem editedMediaItem, Format format, int sequenceIndex) throws ExportException {
|
||||
public GraphInput getInput(EditedMediaItem editedMediaItem, Format format, int sequenceIndex)
|
||||
throws ExportException {
|
||||
try {
|
||||
return videoGraph.createInput(sequenceIndex);
|
||||
} catch (VideoFrameProcessingException e) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue