Fixed video not appearing on secondary screen

preferencesAboutTextFull
Craig Watson 9 years ago
parent 51bfde681e
commit 13a236d53b
  1. 3
      src/domain/UBGraphicsMediaItem.cpp

@ -72,6 +72,9 @@ UBGraphicsMediaItem::UBGraphicsMediaItem(const QUrl& pMediaFileUrl, QGraphicsIte
mVideoItem = new QGraphicsVideoItem();
// Necessary to allow the video to be displayed on secondary screen
mVideoItem->setData(UBGraphicsItemData::ItemLayerType, UBItemLayerType::Object);
mMediaObject->setVideoOutput(mVideoItem);
mVideoItem->setSize(QSize(320,240));

Loading…
Cancel
Save