• Craig Watson's avatar
    Video fixed on OS X · ce521ede
    Craig Watson authored
    QVideoWidget had to be abandoned in favour of QGraphicsVideoItem. This
    is because UBGraphicsMediaItem, i.e the class representing a media
    (audio or video) object on the board, is a QGraphicsProxyWidget, and is
    used to embed a QWidget into the Scene.
    
    With Phonon's video widget, it was possible to embed the video widget in
    this ProxyWidget. This is no longer possible (except on Windows, for
    some reason), so this commit is a workaround, to use a
    QGraphicsVideoItem instead of a QVideoWidget while modifying the rest
    of the class hierarchy as little as possible.
    
    Ultimately, a cleaner solution (not making UBGraphicsMediaItem inherit
    QGraphicsProxyWidget, for example) may be desirable.
    ce521ede
Name
Last commit
Last update
resources Loading commit data...
src Loading commit data...
.gitignore Loading commit data...
C++StandardHeaderFile.txt Loading commit data...
COPYRIGHT Loading commit data...
LICENSE Loading commit data...
OpenBoard.iss Loading commit data...
OpenBoard.packproj Loading commit data...
OpenBoard.pro Loading commit data...
README Loading commit data...
TEST_OpenBoard_Win32.txt Loading commit data...
buildDebianPackage.sh Loading commit data...
changes_porting_qt5.txt Loading commit data...
release.macx.sh Loading commit data...
release.win7.vc9.bat Loading commit data...