00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef QGST_PIPELINE_H
00018 #define QGST_PIPELINE_H
00019
00020 #include "bin.h"
00021
00022 #ifdef Q_CC_MSVC
00023 # pragma warning(push)
00024 # pragma warning(disable:4250) //Pipeline inherits QGst::Object::ref/unref via dominance
00025 #endif
00026
00027 namespace QGst {
00028
00032 class QTGSTREAMER_EXPORT Pipeline : public Bin
00033 {
00034 QGST_WRAPPER(Pipeline)
00035 public:
00036 static PipelinePtr create(const char *name = NULL);
00037
00038 BusPtr bus() const;
00039
00040 ClockPtr clock() const;
00041 bool setClock(const ClockPtr & clock);
00042 void useClock(const ClockPtr & clock);
00043 void enableAutoClock();
00044 };
00045
00046 }
00047
00048 QGST_REGISTER_TYPE(QGst::Pipeline)
00049
00050 #ifdef Q_CC_MSVC
00051 # pragma warning(pop)
00052 #endif
00053
00054 #endif