Fix a mis-match in encoder priority.

PiperOrigin-RevId: 460500666
This commit is contained in:
claincly 2022-07-12 17:43:55 +00:00 committed by Rohit Singh
parent 704aa2531a
commit e56219f1f6

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(