From 1641bb0c6c4ab25c389ba0b3e810d03522efaf19 Mon Sep 17 00:00:00 2001 From: Himanshu Dagar Date: Mon, 5 Jul 2021 13:00:47 +0000 Subject: [PATCH] Typo Fix and Import Optimisations Fixed typo in SurfaceTextureSource and optimised imports for successful execution of repohooks Bug: 192803663 Test: built the code Change-Id: I7802547055a4f1d046fa6979e045a21c3f855548 --- .../android/filterpacks/videosrc/SurfaceTextureSource.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/media/mca/filterpacks/java/android/filterpacks/videosrc/SurfaceTextureSource.java b/media/mca/filterpacks/java/android/filterpacks/videosrc/SurfaceTextureSource.java index 7919723b80a89..a00031a28b4f8 100644 --- a/media/mca/filterpacks/java/android/filterpacks/videosrc/SurfaceTextureSource.java +++ b/media/mca/filterpacks/java/android/filterpacks/videosrc/SurfaceTextureSource.java @@ -20,16 +20,15 @@ import android.filterfw.core.Filter; import android.filterfw.core.FilterContext; import android.filterfw.core.Frame; import android.filterfw.core.FrameFormat; +import android.filterfw.core.GLFrame; import android.filterfw.core.GenerateFieldPort; import android.filterfw.core.GenerateFinalPort; -import android.filterfw.core.GLFrame; import android.filterfw.core.MutableFrameFormat; import android.filterfw.core.ShaderProgram; import android.filterfw.format.ImageFormat; import android.graphics.SurfaceTexture; -import android.os.ConditionVariable; import android.opengl.Matrix; - +import android.os.ConditionVariable; import android.util.Log; /**

A filter that converts textures from a SurfaceTexture object into frames for @@ -57,7 +56,7 @@ public class SurfaceTextureSource extends Filter { public void onSurfaceTextureSourceReady(SurfaceTexture source); } /** A callback to send the internal SurfaceTexture object to, once it is - * created. This callback will be called when the the filter graph is + * created. This callback will be called when the filter graph is * preparing to execute, but before any processing has actually taken * place. The SurfaceTexture object passed to this callback is the only way * to feed this filter. When the filter graph is shutting down, this