Add a rendered and content rectangle properties to VideoOutput QML.
So you can align controls with an edge of the rendered area. There's also some convenience functions for mapping source to and from destination coordinates. Also tweaked the updateGeometry function to bail out if no input parameters have changed, rather than doing some more boring maths. Added a unit test for a lot of the class, too. Change-Id: I943bb45e4e56356247d5d6deb5d446222edcb7ca Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
3b00730eca
commit
bad94a5329
@@ -4,6 +4,7 @@ SUBDIRS += \
|
||||
qaudiodeviceinfo \
|
||||
qaudioinput \
|
||||
qaudiooutput \
|
||||
qdeclarativevideooutput \
|
||||
qmediaplayerbackend \
|
||||
qcamerabackend \
|
||||
qsoundeffect \
|
||||
|
||||
Reference in New Issue
Block a user