22#include "videodataoutput.h"
23#include "videodataoutput_p.h"
26#include "videoframe2.h"
28#define PHONON_CLASSNAME VideoDataOutput
35VideoDataOutput::VideoDataOutput(
QObject *parent)
37 , AbstractVideoOutput(*new VideoDataOutputPrivate)
40 d->createBackendObject();
43void VideoDataOutputPrivate::createBackendObject()
48 m_backendObject = Factory::createVideoDataOutput(q);
49 if (m_backendObject) {
55PHONON_GETTER(
int, latency, d->latency)
57bool VideoDataOutputPrivate::aboutToDeleteBackendObject()
59 Q_ASSERT(m_backendObject);
61 return AbstractVideoOutputPrivate::aboutToDeleteBackendObject();
64void VideoDataOutputPrivate::setupBackendObject()
67 Q_ASSERT(m_backendObject);
74 q, SIGNAL(displayFrame(qint64,qint64)));
75 QObject::connect(m_backendObject, SIGNAL(endOfMedia()), q, SIGNAL(endOfMedia()));
78bool VideoDataOutput::isRunning()
const
85VideoFrame VideoDataOutput::frameForTime(qint64 timestamp)
93void VideoDataOutput::setRunning(
bool running)
100void VideoDataOutput::start()
105void VideoDataOutput::stop()
113#undef PHONON_CLASSNAME
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:49:26 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.