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

Document that QML VideoOutput is a subclass of Item

    XMLWordPrintable

Details

    • 780aa868d (dev), eb4488ad3 (6.9), 7123ce92e (6.8)
    • framework-content 6

    Description

      Here is the source code:
      https://github.com/qt/qtmultimedia/blob/dev/src/multimediaquick/qquickvideooutput_p.h#L54
      Clearly, VideoOutput is a subclass of Item. But it is not written down here:
      https://doc.qt.io/qt-6/qml-qtmultimedia-videooutput.html
      Neither it shows the full list of properties:
      https://doc.qt.io/qt-6/qml-qtmultimedia-videooutput-members.html

      It made me once think I have to render VideoOutput into a texture first (by layer of an Item) then manipulate the parent Item. But it turns out that VideoOutput itself is an Item. I can do whatever I do to an Item.

      Attachments

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

        Activity

          People

            andreas.eliasson Andreas Eliasson
            luqiaochen Luqiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change