Skip to content

Commit

Permalink
Format with google-java-format
Browse files Browse the repository at this point in the history
  • Loading branch information
claincly committed Feb 7, 2024
1 parent f23c868 commit b9fda89
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ interface Listener {
* <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)}.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ interface Listener {
* 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}.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public SampleExporter(Format firstInputFormat, MuxerWrapper muxerWrapper) {
* @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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ public VideoSampleExporter(
}

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

0 comments on commit b9fda89

Please sign in to comment.