mirror of
https://github.com/samsonjs/media.git
synced 2026-04-13 12:35:48 +00:00
HDR: Require transcoding when forceInterpretHdrVideoAsSdr is set.
PiperOrigin-RevId: 487786326
This commit is contained in:
parent
fab66d972e
commit
b6d49ec59b
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Reference in a new issue