mirror of
https://github.com/samsonjs/media.git
synced 2026-04-02 10:45:51 +00:00
Set encoded level in DefaultDecoderFactory.
PiperOrigin-RevId: 524248369
This commit is contained in:
parent
52a9ce3265
commit
cb28960c07
1 changed files with 2 additions and 0 deletions
|
|
@ -105,6 +105,8 @@ import org.checkerframework.checker.nullness.qual.RequiresNonNull;
|
|||
if (codecProfileAndLevel != null) {
|
||||
MediaFormatUtil.maybeSetInteger(
|
||||
mediaFormat, MediaFormat.KEY_PROFILE, codecProfileAndLevel.first);
|
||||
MediaFormatUtil.maybeSetInteger(
|
||||
mediaFormat, MediaFormat.KEY_LEVEL, codecProfileAndLevel.second);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
|
|
|
|||
Loading…
Reference in a new issue