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

Precision loss in QDeclarativeVideoRendererBackend::adjustedViewport

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.9.0
    • Fix Version/s: 5.9.4
    • Component/s: Multimedia
    • Labels:
      None

      Description

      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

       

        Attachments

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes