1
/* This file is part of the KDE project
2
Copyright (C) 2006,2008 Matthias Kretz <kretz@kde.org>
4
This program is free software; you can redistribute it and/or
5
modify it under the terms of the GNU Library General Public
6
License as published by the Free Software Foundation; either
7
version 2 of the License, or (at your option) any later version.
9
This library is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
Library General Public License for more details.
14
You should have received a copy of the GNU Library General Public License
15
along with this library; see the file COPYING.LIB. If not, write to
16
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17
Boston, MA 02110-1301, USA.
20
#ifndef PHONON_XINE_VIDEODATAOUTPUT_H
21
#define PHONON_XINE_VIDEODATAOUTPUT_H
25
#include <phonon/experimental/videodataoutputinterface.h>
26
#include <phonon/experimental/videoframe.h>
28
#include <QtCore/QByteArray>
29
#include <QtCore/QList>
30
#include <QtCore/QObject>
31
#include <QtCore/QSize>
32
#include <QtCore/QVector>
41
class VideoDataOutput : public QObject, public Phonon::Experimental::VideoDataOutputInterface, public Phonon::Xine::SinkNode
44
Q_INTERFACES(Phonon::Experimental::VideoDataOutputInterface Phonon::Xine::SinkNode)
46
VideoDataOutput(QObject *parent);
49
MediaStreamTypes inputMediaStreamTypes() const { return Phonon::Xine::Video; }
51
Experimental::AbstractVideoDataOutput *frontendObject() const;
52
void setFrontendObject(Experimental::AbstractVideoDataOutput *);
55
void aboutToChangeXineEngine();
56
void xineEngineChanged();
58
}} //namespace Phonon::Xine
60
#endif // PHONON_XINE_VIDEODATAOUTPUT_H