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

Precision loss in QDeclarativeVideoRendererBackend::adjustedViewport

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.9.4
    • 5.9.0
    • Multimedia
    • 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

        For Gerrit Dashboard: QTBUG-64044
        # Subject Branch Project Status CR V

        Activity

          People

            valentyn.doroshchuk Valentyn Doroshchuk
            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