mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Fix a mis-match in encoder priority.
PiperOrigin-RevId: 460500666 (cherry picked from commit e56219f1f6ba4d3d3b7e579ba48c6a661761ee3f)
This commit is contained in:
parent
396b55a341
commit
4655b7b8f7
@ -44,10 +44,12 @@ import org.junit.runners.Parameterized.Parameters;
|
||||
@RunWith(Parameterized.class)
|
||||
public class EncoderPerformanceAnalysisTest {
|
||||
|
||||
/** A non-realtime {@link MediaFormat#KEY_PRIORITY encoder priority}. */
|
||||
private static final int MEDIA_CODEC_PRIORITY_NON_REALTIME = 0;
|
||||
/** A realtime {@link MediaFormat#KEY_PRIORITY encoder priority}. */
|
||||
private static final int MEDIA_CODEC_PRIORITY_REALTIME = 1;
|
||||
/** A realtime {@linkplain MediaFormat#KEY_PRIORITY encoder priority}. */
|
||||
private static final int MEDIA_CODEC_PRIORITY_REALTIME = 0;
|
||||
/**
|
||||
* 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 =
|
||||
ImmutableList.of(
|
||||
|
Loading…
x
Reference in New Issue
Block a user