Re-assign TODOs
PiperOrigin-RevId: 493281221
This commit is contained in:
parent
636a4a8538
commit
cc43ddb528
@ -334,8 +334,8 @@ import org.checkerframework.dataflow.qual.Pure;
|
||||
@Pure
|
||||
private static TransformationRequest createFallbackTransformationRequest(
|
||||
TransformationRequest transformationRequest, Format requestedFormat, Format actualFormat) {
|
||||
// TODO(b/210591626): Also update bitrate and other params once encoder configuration and
|
||||
// fallback are implemented.
|
||||
// TODO(b/259570024): Consider including bitrate and other audio characteristics in the revised
|
||||
// fallback design.
|
||||
if (Util.areEqual(requestedFormat.sampleMimeType, actualFormat.sampleMimeType)) {
|
||||
return transformationRequest;
|
||||
}
|
||||
|
@ -175,7 +175,6 @@ public final class DefaultEncoderFactory implements Codec.EncoderFactory {
|
||||
|
||||
@Override
|
||||
public DefaultCodec createForAudioEncoding(Format format) throws TransformationException {
|
||||
// TODO(b/210591626) Add encoder selection for audio.
|
||||
checkNotNull(format.sampleMimeType);
|
||||
MediaFormat mediaFormat =
|
||||
MediaFormat.createAudioFormat(
|
||||
|
@ -325,8 +325,7 @@ import org.checkerframework.dataflow.qual.Pure;
|
||||
Format requestedFormat,
|
||||
Format supportedFormat,
|
||||
@TransformationRequest.HdrMode int supportedHdrMode) {
|
||||
// TODO(b/210591626): Also update bitrate etc. once encoder configuration and fallback are
|
||||
// implemented.
|
||||
// TODO(b/259570024): Consider including bitrate in the revised fallback design.
|
||||
if (transformationRequest.hdrMode == supportedHdrMode
|
||||
&& Util.areEqual(requestedFormat.sampleMimeType, supportedFormat.sampleMimeType)
|
||||
&& (hasOutputFormatRotation
|
||||
|
Loading…
x
Reference in New Issue
Block a user