18 #include "videoitem.h"
19 #include "../QGst/Ui/graphicsvideowidget.h"
21 VideoItem::VideoItem(QDeclarativeItem *parent)
22 : QDeclarativeItem(parent)
27 VideoItem::~VideoItem()
33 return m_widget->surface();
38 m_widget->setSurface(surface);
41 void VideoItem::geometryChanged(
const QRectF& newGeometry,
const QRectF& oldGeometry)
43 m_widget->setGeometry(newGeometry);
44 QDeclarativeItem::geometryChanged(newGeometry, oldGeometry);