Initial commit.
[qtgstreamer:qtgstreamer.git] / src / qgstpipeline.cpp
1 /*
2     Copyright (C) 2009  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 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 #include "qgstpipeline.h"
18 #include <gst/gstpipeline.h>
19
20 namespace QtGstreamer {
21
22 QGstPipeline::QGstPipeline(const char *name, QObject *parent)
23     : QGstBin(GST_BIN(gst_pipeline_new(name)), parent)
24 {
25 }
26
27 QGstPipeline::QGstPipeline(GstPipeline *gstPipeline, QObject *parent)
28     : QGstBin(GST_BIN(gstPipeline), parent)
29 {
30 }
31
32 QGstPipeline::~QGstPipeline()
33 {
34 }
35
36 }
37
38 #include "qgstpipeline.moc"