Line data Source code
1 : /*
2 : * GPAC - Multimedia Framework C SDK
3 : *
4 : * Authors: Deniz Ugur, Romain Bouqueau, Sohaib Larbi
5 : * Copyright (c) Motion Spell
6 : * All rights reserved
7 : *
8 : * This file is part of the GPAC/GStreamer wrapper
9 : *
10 : * This GPAC/GStreamer wrapper is free software; you can redistribute it
11 : * and/or modify it under the terms of the GNU Affero General Public License
12 : * as published by the Free Software Foundation; either version 3, or (at
13 : * your option) any later version.
14 : *
15 : * This GPAC/GStreamer wrapper is distributed in the hope that it will be
16 : * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
17 : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 : * GNU Affero General Public License for more details.
19 : *
20 : * You should have received a copy of the GNU Affero General Public
21 : * License along with this library; see the file LICENSE. If not, write to
22 : * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
23 : *
24 : */
25 :
26 : #pragma once
27 :
28 : #include "elements/common.h"
29 : #include "gpacmessages.h"
30 :
31 : #include "lib/caps.h"
32 : #include "lib/properties.h"
33 : #include "lib/signals.h"
34 :
35 : #include <gst/gst.h>
36 :
37 : G_BEGIN_DECLS
38 :
39 : #define GST_TYPE_GPAC_SINK (gst_gpac_sink_get_type())
40 53 : G_DECLARE_FINAL_TYPE(GstGpacSink, gst_gpac_sink, GST, GPAC_SINK, GstBin)
41 :
42 : /**
43 : * GstGpacSink: Opaque data structure.
44 : */
45 : struct _GstGpacSink
46 : {
47 : GstBin parent;
48 :
49 : /* Internal elements */
50 : GstElement* tf;
51 : GstElement* sink;
52 : };
53 :
54 : GST_ELEMENT_REGISTER_DECLARE(gpac_sink);
55 :
56 : G_END_DECLS
|