Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-64044

Precision loss in QDeclarativeVideoRendererBackend::adjustedViewport

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.9.4
    • 5.9.0
    • Multimedia
    • None

      In the function adjustedViewport there is a division that is

      const qreal ratio = pixelAspectRatio.width() / pixelAspectRatio.height();

       

      pixelAspectRatio is a QSize. The division returns always an int and so for example if I have a pixelAspectRatio of (1,2), ratio is 0.0

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            valentyn.doroshchuk Valentyn Doroshchuk
            syndacate Davide Perrone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes