mirror of
https://github.com/samsonjs/media.git
synced 2026-04-07 11:35:46 +00:00
Fix a mis-match in encoder priority.
PiperOrigin-RevId: 460500666
(cherry picked from commit e56219f1f6)
This commit is contained in:
parent
396b55a341
commit
4655b7b8f7
1 changed files with 6 additions and 4 deletions
|
|
@ -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…
Reference in a new issue