2000-12-28 22:12:02 +00:00
|
|
|
/* 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
|
2000-01-30 09:03:00 +00:00
|
|
|
*
|
|
|
|
* 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
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __GST_H__
|
|
|
|
#define __GST_H__
|
|
|
|
|
2001-01-14 21:55:41 +00:00
|
|
|
#include <glib.h>
|
2002-02-15 16:14:21 +00:00
|
|
|
#include <popt.h>
|
2001-01-14 21:55:41 +00:00
|
|
|
|
2003-11-24 02:09:23 +00:00
|
|
|
#include <gst/gstenumtypes.h>
|
2001-05-25 21:00:07 +00:00
|
|
|
#include <gst/gsttypes.h>
|
2003-11-24 02:09:23 +00:00
|
|
|
#include <gst/gstversion.h>
|
2001-04-17 02:19:08 +00:00
|
|
|
|
2003-11-24 02:09:23 +00:00
|
|
|
#include <gst/gstbin.h>
|
2000-01-30 09:03:00 +00:00
|
|
|
#include <gst/gstbuffer.h>
|
2003-12-22 01:58:20 +00:00
|
|
|
#include <gst/gstcaps.h>
|
2003-11-24 02:09:23 +00:00
|
|
|
#include <gst/gstclock.h>
|
2000-09-12 18:13:48 +00:00
|
|
|
#include <gst/gstcpu.h>
|
2000-01-30 09:03:00 +00:00
|
|
|
#include <gst/gstelement.h>
|
2004-01-18 21:36:20 +00:00
|
|
|
#include <gst/gsterror.h>
|
2003-11-24 02:09:23 +00:00
|
|
|
#include <gst/gstevent.h>
|
2002-12-12 22:14:36 +00:00
|
|
|
#include <gst/gstindex.h>
|
2003-11-24 02:09:23 +00:00
|
|
|
#include <gst/gstinfo.h>
|
|
|
|
#include <gst/gstinterface.h>
|
2004-02-03 03:31:26 +00:00
|
|
|
#include <gst/gstmarshal.h>
|
2003-11-24 02:09:23 +00:00
|
|
|
#include <gst/gstobject.h>
|
|
|
|
#include <gst/gstpad.h>
|
2000-01-30 09:03:00 +00:00
|
|
|
#include <gst/gstpipeline.h>
|
2003-11-24 02:09:23 +00:00
|
|
|
#include <gst/gstplugin.h>
|
|
|
|
#include <gst/gstscheduler.h>
|
|
|
|
#include <gst/gststructure.h>
|
|
|
|
#include <gst/gstsystemclock.h>
|
|
|
|
#include <gst/gsttag.h>
|
|
|
|
#include <gst/gsttaginterface.h>
|
2000-01-30 09:03:00 +00:00
|
|
|
#include <gst/gstthread.h>
|
2003-11-24 02:09:23 +00:00
|
|
|
#include <gst/gsttrace.h>
|
2003-10-28 20:25:30 +00:00
|
|
|
#include <gst/gsttypefind.h>
|
2003-01-16 21:22:06 +00:00
|
|
|
#include <gst/gsturi.h>
|
2003-02-10 20:32:32 +00:00
|
|
|
#include <gst/gsturitype.h>
|
2000-01-30 09:03:00 +00:00
|
|
|
#include <gst/gstutils.h>
|
2003-11-03 09:10:07 +00:00
|
|
|
#include <gst/gstvalue.h>
|
2003-11-24 02:09:23 +00:00
|
|
|
#include <gst/gstxml.h>
|
2000-12-03 00:17:52 +00:00
|
|
|
|
2001-01-07 04:00:30 +00:00
|
|
|
#include <gst/gstparse.h>
|
2002-04-12 09:53:00 +00:00
|
|
|
#include <gst/gstregistry.h>
|
2003-02-10 20:32:32 +00:00
|
|
|
#include <gst/gstregistrypool.h>
|
2001-01-07 04:00:30 +00:00
|
|
|
|
2003-01-09 14:15:37 +00:00
|
|
|
/* API compatibility stuff */
|
|
|
|
#include <gst/gstcompat.h>
|
|
|
|
|
2002-07-08 19:07:30 +00:00
|
|
|
G_BEGIN_DECLS
|
2004-03-15 14:43:35 +00:00
|
|
|
|
2004-02-03 14:59:32 +00:00
|
|
|
/* make our own type for poptOption because the struct poptOption
|
|
|
|
* definition is iffy */
|
|
|
|
typedef struct poptOption GstPoptOption;
|
|
|
|
|
2000-01-30 09:03:00 +00:00
|
|
|
/* initialize GST */
|
2004-03-15 14:43:35 +00:00
|
|
|
void gst_init (int *argc, char **argv[]);
|
|
|
|
gboolean gst_init_check (int *argc, char **argv[]);
|
|
|
|
void gst_init_with_popt_table (int *argc, char **argv[],
|
|
|
|
const GstPoptOption
|
|
|
|
*popt_options);
|
|
|
|
gboolean gst_init_check_with_popt_table (int *argc, char **argv[],
|
|
|
|
const GstPoptOption
|
|
|
|
*popt_options);
|
2004-02-03 14:59:32 +00:00
|
|
|
|
2004-03-15 14:43:35 +00:00
|
|
|
const GstPoptOption * gst_init_get_popt_table (void);
|
2000-01-30 09:03:00 +00:00
|
|
|
|
2004-03-15 14:43:35 +00:00
|
|
|
void gst_use_threads (gboolean use_threads);
|
|
|
|
gboolean gst_has_threads (void);
|
2002-06-21 14:50:00 +00:00
|
|
|
|
2004-03-15 14:43:35 +00:00
|
|
|
void gst_main (void);
|
|
|
|
void gst_main_quit (void);
|
2000-09-09 16:36:10 +00:00
|
|
|
|
2002-07-08 19:07:30 +00:00
|
|
|
G_END_DECLS
|
2004-03-15 14:43:35 +00:00
|
|
|
|
2000-01-30 09:03:00 +00:00
|
|
|
#endif /* __GST_H__ */
|