FFmpeg: introduce toReal to use in QFFmpegVideoBuffer::maxNits


We don't need the multiplication with 1, better to just convert the
AVRational directly.

Pick-to: 6.12
Change-Id: I3ec44ddd6daed6d3ad037d009195fb7f33e61445
Reviewed-by: Nils Petter Skålerud <nils.petter.skalerud@qt.io>
commit967fb80fea93e5da562aa5d803532bcc449a0e0e
parent1fcea72631fdec10ac58ff0d63f0da196d03c04f
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeThu, 8 Oct 2026 12:07:44 +0000