diff --git a/libraries/common/src/main/java/androidx/media3/common/VideoGraph.java b/libraries/common/src/main/java/androidx/media3/common/VideoGraph.java index 3221caa6be..9ac269b8f5 100644 --- a/libraries/common/src/main/java/androidx/media3/common/VideoGraph.java +++ b/libraries/common/src/main/java/androidx/media3/common/VideoGraph.java @@ -76,7 +76,6 @@ public interface VideoGraph { *

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)}. */ diff --git a/libraries/effect/src/main/java/androidx/media3/effect/VideoCompositor.java b/libraries/effect/src/main/java/androidx/media3/effect/VideoCompositor.java index 198a7d566d..e8835c46b2 100644 --- a/libraries/effect/src/main/java/androidx/media3/effect/VideoCompositor.java +++ b/libraries/effect/src/main/java/androidx/media3/effect/VideoCompositor.java @@ -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}. * diff --git a/libraries/transformer/src/main/java/androidx/media3/transformer/SampleExporter.java b/libraries/transformer/src/main/java/androidx/media3/transformer/SampleExporter.java index e11f0fcd02..478923af76 100644 --- a/libraries/transformer/src/main/java/androidx/media3/transformer/SampleExporter.java +++ b/libraries/transformer/src/main/java/androidx/media3/transformer/SampleExporter.java @@ -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 diff --git a/libraries/transformer/src/main/java/androidx/media3/transformer/VideoSampleExporter.java b/libraries/transformer/src/main/java/androidx/media3/transformer/VideoSampleExporter.java index 9784af9cbe..2960b49015 100644 --- a/libraries/transformer/src/main/java/androidx/media3/transformer/VideoSampleExporter.java +++ b/libraries/transformer/src/main/java/androidx/media3/transformer/VideoSampleExporter.java @@ -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) {