equal
deleted
inserted
replaced
155 QWidget* MMF::VideoWidget::widget() |
155 QWidget* MMF::VideoWidget::widget() |
156 { |
156 { |
157 return m_videoOutput.data(); |
157 return m_videoOutput.data(); |
158 } |
158 } |
159 |
159 |
160 bool MMF::VideoWidget::activateOnMediaObject(MediaObject *mo) |
160 //----------------------------------------------------------------------------- |
|
161 // MediaNode |
|
162 //----------------------------------------------------------------------------- |
|
163 |
|
164 void MMF::VideoWidget::connectMediaObject(MediaObject *mediaObject) |
161 { |
165 { |
162 mo->setVideoOutput(m_videoOutput.data()); |
166 mediaObject->setVideoOutput(m_videoOutput.data()); |
163 return true; |
167 } |
|
168 |
|
169 void MMF::VideoWidget::disconnectMediaObject(MediaObject *mediaObject) |
|
170 { |
|
171 mediaObject->setVideoOutput(0); |
164 } |
172 } |
165 |
173 |
166 QT_END_NAMESPACE |
174 QT_END_NAMESPACE |
167 |
175 |