gst.h 3.24 KB
Newer Older
1 2 3 4 5
/* GStreamer
 * Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
 *                    2000 Wim Taymans <wtay@chello.be>
 *
 * gst.h: Main header for GStreamer, apps should include this
Erik Walthinsen's avatar
Erik Walthinsen committed
6 7 8 9 10 11 12 13 14 15 16 17 18
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the
Tim-Philipp Müller's avatar
Tim-Philipp Müller committed
19 20
 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
 * Boston, MA 02110-1301, USA.
Erik Walthinsen's avatar
Erik Walthinsen committed
21 22 23 24 25 26
 */


#ifndef __GST_H__
#define __GST_H__

27 28
#include <glib.h>

29 30
#include <gst/glib-compat.h>

Benjamin Otte's avatar
Benjamin Otte committed
31 32
#include <gst/gstenumtypes.h>
#include <gst/gstversion.h>
Erik Walthinsen's avatar
Erik Walthinsen committed
33

Benjamin Otte's avatar
Benjamin Otte committed
34
#include <gst/gstbin.h>
Erik Walthinsen's avatar
Erik Walthinsen committed
35
#include <gst/gstbuffer.h>
36
#include <gst/gstbufferlist.h>
37
#include <gst/gstbufferpool.h>
38
#include <gst/gstcaps.h>
39
#include <gst/gstcapsfeatures.h>
40
#include <gst/gstchildproxy.h>
Benjamin Otte's avatar
Benjamin Otte committed
41
#include <gst/gstclock.h>
42
#include <gst/gstcontrolsource.h>
Thiago Santos's avatar
Thiago Santos committed
43
#include <gst/gstdatetime.h>
44
#include <gst/gstdebugutils.h>
45 46
#include <gst/gstdevice.h>
#include <gst/gstdevicemonitor.h>
Erik Walthinsen's avatar
Erik Walthinsen committed
47
#include <gst/gstelement.h>
48
#include <gst/gstelementmetadata.h>
49
#include <gst/gsterror.h>
Benjamin Otte's avatar
Benjamin Otte committed
50
#include <gst/gstevent.h>
51
#include <gst/gstghostpad.h>
52
#include <gst/gstglobaldevicemonitor.h>
Benjamin Otte's avatar
Benjamin Otte committed
53
#include <gst/gstinfo.h>
54
#include <gst/gstiterator.h>
Wim Taymans's avatar
Wim Taymans committed
55
#include <gst/gstmessage.h>
56
#include <gst/gstmemory.h>
Wim Taymans's avatar
Wim Taymans committed
57
#include <gst/gstmeta.h>
58
#include <gst/gstminiobject.h>
Benjamin Otte's avatar
Benjamin Otte committed
59 60
#include <gst/gstobject.h>
#include <gst/gstpad.h>
61
#include <gst/gstparamspecs.h>
Erik Walthinsen's avatar
Erik Walthinsen committed
62
#include <gst/gstpipeline.h>
Benjamin Otte's avatar
Benjamin Otte committed
63
#include <gst/gstplugin.h>
64
#include <gst/gstpoll.h>
65
#include <gst/gstpreset.h>
Andy Wingo Wingo's avatar
Andy Wingo Wingo committed
66
#include <gst/gstquery.h>
67
#include <gst/gstregistry.h>
68
#include <gst/gstsample.h>
69
#include <gst/gstsegment.h>
Benjamin Otte's avatar
Benjamin Otte committed
70 71
#include <gst/gststructure.h>
#include <gst/gstsystemclock.h>
72 73
#include <gst/gsttaglist.h>
#include <gst/gsttagsetter.h>
Wim Taymans's avatar
Wim Taymans committed
74
#include <gst/gsttask.h>
75
#include <gst/gsttaskpool.h>
76
#include <gst/gsttoc.h>
77
#include <gst/gsttocsetter.h>
78
#include <gst/gsttypefind.h>
79
#include <gst/gsttypefindfactory.h>
80
#include <gst/gsturi.h>
Erik Walthinsen's avatar
Erik Walthinsen committed
81
#include <gst/gstutils.h>
David Schleef's avatar
David Schleef committed
82
#include <gst/gstvalue.h>
83

84 85
#include <gst/gstparse.h>

86 87 88
/* API compatibility stuff */
#include <gst/gstcompat.h>

89
G_BEGIN_DECLS
90 91

void		gst_init			(int *argc, char **argv[]);
92 93
gboolean	gst_init_check			(int *argc, char **argv[],
						 GError ** err);
94
gboolean        gst_is_initialized              (void);
95
GOptionGroup *	gst_init_get_option_group	(void);
96
void		gst_deinit			(void);
Erik Walthinsen's avatar
Erik Walthinsen committed
97

98 99 100 101
void		gst_version			(guint *major, guint *minor,
						 guint *micro, guint *nano);
gchar *		gst_version_string		(void);

102 103 104
gboolean        gst_segtrap_is_enabled          (void);
void            gst_segtrap_set_enabled         (gboolean enabled);

Wim Taymans's avatar
Wim Taymans committed
105 106 107
gboolean        gst_registry_fork_is_enabled    (void);
void            gst_registry_fork_set_enabled   (gboolean enabled);

Wim Taymans's avatar
Wim Taymans committed
108
gboolean        gst_update_registry             (void);
109

110
G_END_DECLS
111

Erik Walthinsen's avatar
Erik Walthinsen committed
112
#endif /* __GST_H__ */