mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 06:16:36 +00:00
bedb591973
Original commit message from CVS: Patch by: Stefan Kost <ensonic@users.sf.net> * configure.ac: Add DATADIR for storing presets. * docs/gst/gstreamer-docs.sgml: * docs/gst/gstreamer-sections.txt: * docs/gst/gstreamer.types.in: Add GstPreset to docs. * gst/Makefile.am: * gst/gst.h: * gst/gstpreset.c: (preset_get_paths), (preset_skip_property), (preset_open_and_parse_header), (preset_parse_version), (preset_merge), (preset_get_keyfile), (gst_preset_default_get_preset_names), (gst_preset_default_get_property_names), (gst_preset_default_load_preset), (gst_preset_default_save_presets_file), (gst_preset_default_save_preset), (gst_preset_default_rename_preset), (gst_preset_default_delete_preset), (gst_preset_default_set_meta), (gst_preset_default_get_meta), (gst_preset_default_randomize), (gst_preset_default_reset), (gst_preset_get_preset_names), (gst_preset_get_property_names), (gst_preset_load_preset), (gst_preset_save_preset), (gst_preset_rename_preset), (gst_preset_delete_preset), (gst_preset_set_meta), (gst_preset_get_meta), (gst_preset_class_init), (gst_preset_base_init), (gst_preset_get_type): * gst/gstpreset.h: Add GstPreset to core. Fixes #396779 * tests/check/Makefile.am: * tests/check/gst/gstpreset.c: (gst_preset_test_get_property), (gst_preset_test_set_property), (gst_preset_test_class_init), (gst_preset_test_base_init), (gst_preset_test_get_type), (gst_preset_test_plugin_init), (GST_START_TEST), (remove_preset_file), (test_setup), (test_teardown), (gst_preset_suite): Add GstPreset unit tests.
102 lines
2.9 KiB
C
102 lines
2.9 KiB
C
/* 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
|
|
*
|
|
* 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__
|
|
|
|
#include <glib.h>
|
|
|
|
#include <gst/glib-compat.h>
|
|
|
|
#include <gst/gstenumtypes.h>
|
|
#include <gst/gstversion.h>
|
|
|
|
#include <gst/gstbin.h>
|
|
#include <gst/gstbuffer.h>
|
|
#include <gst/gstcaps.h>
|
|
#include <gst/gstchildproxy.h>
|
|
#include <gst/gstclock.h>
|
|
#include <gst/gstdebugutils.h>
|
|
#include <gst/gstelement.h>
|
|
#include <gst/gsterror.h>
|
|
#include <gst/gstevent.h>
|
|
#include <gst/gstghostpad.h>
|
|
#include <gst/gstindex.h>
|
|
#include <gst/gstindexfactory.h>
|
|
#include <gst/gstinfo.h>
|
|
#include <gst/gstinterface.h>
|
|
#include <gst/gstiterator.h>
|
|
#include <gst/gstmarshal.h>
|
|
#include <gst/gstmessage.h>
|
|
#include <gst/gstminiobject.h>
|
|
#include <gst/gstobject.h>
|
|
#include <gst/gstpad.h>
|
|
#include <gst/gstparamspecs.h>
|
|
#include <gst/gstpipeline.h>
|
|
#include <gst/gstplugin.h>
|
|
#include <gst/gstpoll.h>
|
|
#include <gst/gstpreset.h>
|
|
#include <gst/gstquery.h>
|
|
#include <gst/gstregistry.h>
|
|
#include <gst/gstsegment.h>
|
|
#include <gst/gststructure.h>
|
|
#include <gst/gstsystemclock.h>
|
|
#include <gst/gsttaglist.h>
|
|
#include <gst/gsttagsetter.h>
|
|
#include <gst/gsttask.h>
|
|
#include <gst/gsttrace.h>
|
|
#include <gst/gsttypefind.h>
|
|
#include <gst/gsttypefindfactory.h>
|
|
#include <gst/gsturi.h>
|
|
#include <gst/gstutils.h>
|
|
#include <gst/gstvalue.h>
|
|
#include <gst/gstxml.h>
|
|
|
|
#include <gst/gstparse.h>
|
|
|
|
/* API compatibility stuff */
|
|
#include <gst/gstcompat.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void gst_init (int *argc, char **argv[]);
|
|
gboolean gst_init_check (int *argc, char **argv[],
|
|
GError ** err);
|
|
GOptionGroup * gst_init_get_option_group (void);
|
|
void gst_deinit (void);
|
|
|
|
void gst_version (guint *major, guint *minor,
|
|
guint *micro, guint *nano);
|
|
gchar * gst_version_string (void);
|
|
|
|
gboolean gst_segtrap_is_enabled (void);
|
|
void gst_segtrap_set_enabled (gboolean enabled);
|
|
|
|
gboolean gst_registry_fork_is_enabled (void);
|
|
void gst_registry_fork_set_enabled (gboolean enabled);
|
|
|
|
gboolean gst_update_registry (void);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __GST_H__ */
|