mirror of
https://github.com/samsonjs/media.git
synced 2026-04-05 11:15:46 +00:00
Fix a mis-match in encoder priority.
PiperOrigin-RevId: 460500666
(cherry picked from commit fa55078641)
This commit is contained in:
parent
7a81668863
commit
82bc3b19e6
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