~ubuntu-branches/ubuntu/natty/phonon/natty

« back to all changes in this revision

Viewing changes to xine/videodataoutput.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2011-01-24 10:12:11 UTC
  • mfrom: (0.5.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110124101211-w9rew7q0dmwbwhqx
Tags: 4:4.7.0really4.4.4-0ubuntu1
* New upstream release
* Xine and GStreamer backends now split out source, remove build-deps and
  binary packages from debian/control
* Remove 02_no_rpath.patch, now upstream
* Disable kubuntu04_no_va_mangle.patch, no longer applies
* Remove kubuntu_05_gst_codec_installer_window_id.diff, kubuntu_06_forward_events.diff,
  kubuntu_07_include_fix.diff, gstreamer now separate

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*  This file is part of the KDE project
2
 
    Copyright (C) 2006,2008 Matthias Kretz <kretz@kde.org>
3
 
 
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.
8
 
 
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.
13
 
 
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.
18
 
 
19
 
*/
20
 
#ifndef PHONON_XINE_VIDEODATAOUTPUT_H
21
 
#define PHONON_XINE_VIDEODATAOUTPUT_H
22
 
 
23
 
#include "sinknode.h"
24
 
 
25
 
#include <phonon/experimental/videodataoutputinterface.h>
26
 
#include <phonon/experimental/videoframe.h>
27
 
 
28
 
#include <QtCore/QByteArray>
29
 
#include <QtCore/QList>
30
 
#include <QtCore/QObject>
31
 
#include <QtCore/QSize>
32
 
#include <QtCore/QVector>
33
 
 
34
 
#include <xine.h>
35
 
 
36
 
namespace Phonon
37
 
{
38
 
namespace Xine
39
 
{
40
 
 
41
 
class VideoDataOutput : public QObject, public Phonon::Experimental::VideoDataOutputInterface, public Phonon::Xine::SinkNode
42
 
{
43
 
    Q_OBJECT
44
 
    Q_INTERFACES(Phonon::Experimental::VideoDataOutputInterface Phonon::Xine::SinkNode)
45
 
    public:
46
 
        VideoDataOutput(QObject *parent);
47
 
        ~VideoDataOutput();
48
 
 
49
 
        MediaStreamTypes inputMediaStreamTypes() const { return Phonon::Xine::Video; }
50
 
 
51
 
        Experimental::AbstractVideoDataOutput *frontendObject() const;
52
 
        void setFrontendObject(Experimental::AbstractVideoDataOutput *);
53
 
 
54
 
    protected:
55
 
        void aboutToChangeXineEngine();
56
 
        void xineEngineChanged();
57
 
};
58
 
}} //namespace Phonon::Xine
59
 
 
60
 
#endif // PHONON_XINE_VIDEODATAOUTPUT_H