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>
| commit | 967fb80fea93e5da562aa5d803532bcc449a0e0e |
| parent | 1fcea72631fdec10ac58ff0d63f0da196d03c04f |
| author | Tim Blechmann <tim.blechmann@qt.io> |
| committer | Tim Blechmann <tim.blechmann@qt.io> |
| commit time | Thu, 8 Oct 2026 12:07:44 +0000 |