backends/drm: fix typo
This commit is contained in:
parent
2f1fd37c9b
commit
acba91672b
2 changed files with 2 additions and 2 deletions
|
@ -257,7 +257,7 @@ DrmPipeline::Error DrmPipeline::prepareAtomicPresentation(DrmAtomicCommit *commi
|
|||
// don't allow NV12 direct scanout if we don't know what the driver will do
|
||||
return Error::InvalidArguments;
|
||||
}
|
||||
commit->addEnum(primary->colorEncoding, DrmPlane::ColorEncoding::BT701_YCbCr);
|
||||
commit->addEnum(primary->colorEncoding, DrmPlane::ColorEncoding::BT709_YCbCr);
|
||||
commit->addEnum(primary->colorRange, DrmPlane::ColorRange::Limited_YCbCr);
|
||||
}
|
||||
return Error::None;
|
||||
|
|
|
@ -63,7 +63,7 @@ public:
|
|||
};
|
||||
enum class ColorEncoding : uint64_t {
|
||||
BT601_YCbCr,
|
||||
BT701_YCbCr,
|
||||
BT709_YCbCr,
|
||||
BT2020_YCbCr
|
||||
};
|
||||
enum class ColorRange : uint64_t {
|
||||
|
|
Loading…
Reference in a new issue