QtGStreamer
1.2.0
QGst
pipeline.h
1
/*
2
Copyright (C) 2010 George Kiagiadakis <kiagiadakis.george@gmail.com>
3
4
This library is free software; you can redistribute it and/or modify
5
it under the terms of the GNU Lesser General Public License as published
6
by the Free Software Foundation; either version 2.1 of the License, or
7
(at your option) any later version.
8
9
This program 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
12
GNU Lesser General Public License for more details.
13
14
You should have received a copy of the GNU Lesser General Public License
15
along with this program. If not, see <http://www.gnu.org/licenses/>.
16
*/
17
#ifndef QGST_PIPELINE_H
18
#define QGST_PIPELINE_H
19
20
#include "bin.h"
21
22
#ifdef Q_CC_MSVC
23
# pragma warning(push)
24
# pragma warning(disable:4250) //Pipeline inherits QGst::Object::ref/unref via dominance
25
#endif
26
27
namespace
QGst
{
28
32
class
QTGSTREAMER_EXPORT
Pipeline
:
public
Bin
33
{
34
QGST_WRAPPER(
Pipeline
)
35
public
:
36
static
PipelinePtr
create(
const
char
*name = NULL);
37
38
BusPtr
bus()
const
;
39
40
ClockPtr
clock()
const
;
41
bool
setClock(
const
ClockPtr
& clock);
42
void
useClock(
const
ClockPtr
& clock);
43
void
enableAutoClock();
44
};
45
46
}
47
48
QGST_REGISTER_TYPE(
QGst::Pipeline
)
49
50
#ifdef Q_CC_MSVC
51
# pragma warning(pop)
52
#endif
53
54
#endif
QGst::Bin
Wrapper class for GstBin.
Definition:
bin.h:45
QGst::Pipeline
Wrapper class for GstPipeline.
Definition:
pipeline.h:32
QGst
Wrappers for GStreamer classes.
QGlib::RefPointer< Pipeline >
Generated by
1.8.17