Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
6.2.9
-
None
-
-
d410d3b621a9273be7a466a7ab3eb278fc225cdf (pyside/pyside-setup/dev) a4f505e5274a58477a1df4e9ca4b9c25f50e1a7d (pyside/pyside-setup/6.2)
Description
QVideoFrame does not expose the bits() method.
>>> from PySide6.QtMultimedia import QVideoFrame >>> dir(QVideoFrame) ['HandleType', 'MapMode', 'NoHandle', 'NotMapped', 'ReadOnly', 'ReadWrite', 'RhiTextureHandle', 'WriteOnly', '__class__', '__copy__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', 'bytesPerLine', 'endTime', 'handleType', 'height', 'isMapped', 'isReadable', 'isValid', 'isWritable', 'map', 'mapMode', 'mappedBytes', 'pixelFormat', 'planeCount', 'setEndTime', 'setStartTime', 'setSubtitleText', 'size', 'startTime', 'subtitleText', 'surfaceFormat', 'swap', 'textureHandle', 'toImage', 'unmap', 'width']
On the other hand, in PyQt6 it is available:
>>> from PyQt6.QtMultimedia import QVideoFrame >>> dir(QVideoFrame) ['HandleType', 'MapMode', 'PaintOptions', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'bits', 'bytesPerLine', 'endTime', 'handleType', 'height', 'isMapped', 'isReadable', 'isValid', 'isWritable', 'map', 'mapMode', 'mappedBytes', 'paint', 'pixelFormat', 'planeCount', 'setEndTime', 'setStartTime', 'setSubtitleText', 'size', 'startTime', 'subtitleText', 'surfaceFormat', 'toImage', 'unmap', 'width']
Attachments
For Gerrit Dashboard: PYSIDE-1674 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
374805,2 | PySide6: Expose QVideoFrame::bits(int) | 6.2 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
374867,3 | PySide6: Expose QVideoFrame::bits(int) | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |