backends/drm: fix typo

This commit is contained in:
Xaver Hugl 2023-11-09 15:53:08 +01:00
parent 2f1fd37c9b
commit acba91672b
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -63,7 +63,7 @@ public:
};
enum class ColorEncoding : uint64_t {
BT601_YCbCr,
BT701_YCbCr,
BT709_YCbCr,
BT2020_YCbCr
};
enum class ColorRange : uint64_t {