mirror of
https://github.com/samsonjs/media.git
synced 2026-04-02 10:45:51 +00:00
HDR: Require transcoding when forceInterpretHdrVideoAsSdr is set.
PiperOrigin-RevId: 487786326
This commit is contained in:
parent
1eb8a6b36e
commit
681de4e763
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