mirror of
https://github.com/androidx/media.git
synced 2025-05-11 09:39:52 +08:00
HDR: Require transcoding when forceInterpretHdrVideoAsSdr is set.
PiperOrigin-RevId: 487786326
This commit is contained in:
parent
fab66d972e
commit
b6d49ec59b
@ -237,6 +237,9 @@ import com.google.common.collect.ImmutableList;
|
||||
if (transformationRequest.enableRequestSdrToneMapping) {
|
||||
return true;
|
||||
}
|
||||
if (transformationRequest.forceInterpretHdrVideoAsSdr) {
|
||||
return true;
|
||||
}
|
||||
if (transformationRequest.videoMimeType != null
|
||||
&& !transformationRequest.videoMimeType.equals(inputFormat.sampleMimeType)) {
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user