Set encoded level in DefaultDecoderFactory.
PiperOrigin-RevId: 524248369
This commit is contained in:
parent
52a9ce3265
commit
cb28960c07
@ -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…
x
Reference in New Issue
Block a user