Explicitly request limited range for renderers that require it

This commit is contained in:
Cameron Gutman
2026-08-05 23:25:30 -05:00
parent 2bea406f67
commit a903c5cef2
9 changed files with 35 additions and 0 deletions
@@ -242,6 +242,12 @@ int MmalRenderer::getDecoderColorspace()
return COLORSPACE_REC_709;
}
int MmalRenderer::getDecoderColorRange()
{
// MMAL_COLOR_SPACE_ITUR_BT709 assumes limited range content
return COLOR_RANGE_LIMITED;
}
void MmalRenderer::InputPortCallback(MMAL_PORT_T*, MMAL_BUFFER_HEADER_T* buffer)
{
mmal_buffer_header_release(buffer);