Fix a mis-match in encoder priority.

PiperOrigin-RevId: 460500666
(cherry picked from commit e56219f1f6ba4d3d3b7e579ba48c6a661761ee3f)
This commit is contained in:
claincly 2022-07-12 17:43:55 +00:00 committed by microkatz
parent 396b55a341
commit 4655b7b8f7

View File

@ -44,10 +44,12 @@ import org.junit.runners.Parameterized.Parameters;
@RunWith(Parameterized.class) @RunWith(Parameterized.class)
public class EncoderPerformanceAnalysisTest { public class EncoderPerformanceAnalysisTest {
/** A non-realtime {@link MediaFormat#KEY_PRIORITY encoder priority}. */ /** A realtime {@linkplain MediaFormat#KEY_PRIORITY encoder priority}. */
private static final int MEDIA_CODEC_PRIORITY_NON_REALTIME = 0; private static final int MEDIA_CODEC_PRIORITY_REALTIME = 0;
/** A realtime {@link MediaFormat#KEY_PRIORITY encoder priority}. */ /**
private static final int MEDIA_CODEC_PRIORITY_REALTIME = 1; * A non-realtime (as fast as possible) {@linkplain MediaFormat#KEY_PRIORITY encoder priority}.
*/
private static final int MEDIA_CODEC_PRIORITY_NON_REALTIME = 1;
private static final ImmutableList<String> INPUT_FILES = private static final ImmutableList<String> INPUT_FILES =
ImmutableList.of( ImmutableList.of(