Format with google-java-format

This commit is contained in:
Luyuan Chen 2024-02-07 20:56:42 +00:00
parent 84df55c6e8
commit 3cccecf368
4 changed files with 5 additions and 4 deletions

View File

@ -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)}.
*/

View File

@ -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}.
*

View File

@ -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

View File

@ -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) {