summaryrefslogtreecommitdiff
path: root/gst/gstpreset.c
AgeCommit message (Collapse)AuthorFilesLines
2015-01-14preset: fix incorrect preset version comparisonPhillip Wood1-1/+1
Use app_version if there are no system presets, so that if the application presets are newer than the user presets they are merged. https://bugzilla.gnome.org/show_bug.cgi?id=742877
2015-01-11preset: fix sorting presetsStefan Sauer1-1/+7
The glib docs are not clear on this, but the qsort man-page is - the GCompareDataFunc does not get the strings, but pointers to them.
2015-01-04preset: don't return empty preset listsStefan Sauer1-0/+6
Add a shortcut for the cases where an element implements the preset iface but has no presets and return NULL instead of an empty list in that case.
2014-12-12preset: add gst_preset_is_editable()Stefan Sauer1-0/+21
Add a function to check if the preset iface implementation is editable and document this from the implementers perspective. API: gst_preset_is_editable()
2014-11-07preset: remove commented codeStefan Sauer1-4/+0
The GQuark was never used.
2014-06-26introspection: add some missing allow-none annotations to in paramsEvan Nemerson1-1/+1
https://bugzilla.gnome.org/show_bug.cgi?id=730957
2014-06-26introspection: add nullability annotations to out and inout paramsEvan Nemerson1-3/+3
https://bugzilla.gnome.org/show_bug.cgi?id=730957
2014-06-26introspection: add missing (nullable) annotations to return valuesEvan Nemerson1-1/+2
Support for (nullable) was added to G-I at the same time as nullable return values. Previous versions of G-I will not mark return values as nullable, even when an (allow-none) annotation is present, so it is not necessary to add (allow-none) annotations for compatibility with older versions of G-I. https://bugzilla.gnome.org/show_bug.cgi?id=730957
2014-05-30docs: convert NULL, TRUE, and FALSE to %NULL, %TRUE, and %FALSEEvan Nemerson1-1/+1
This should help improve documentation generated for languages other than C. https://bugzilla.gnome.org/show_bug.cgi?id=730961
2014-04-16preset: Unref return value of gst_child_proxy_get_child_by_index() instead ↵Sebastian Dröge1-0/+2
of leaking it
2014-04-16preset: Automatic code style fixesSebastian Dröge1-6/+6
2014-02-06windows: Make GStreamer installation relocatableChun-wei Fan1-0/+17
Use the technique that is now done in GTK+ so that the plugins do not have to be installed in c:\gstreamer\lib\<debug>\gstreamer-$(GSTApiVersion), but can be installed in <parent_folder_of_gstreamer_main_dll>\lib\<debug>\gstreamer-$(GSTApiVersion), or as per g_win32_get_package_installation_directory_of_module() allows. https://bugzilla.gnome.org/show_bug.cgi?id=679115
2013-12-07docs: Fix typos in function/object descriptionsSebastian Rasmussen1-1/+1
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=720029
2012-11-03Fix FSF addressTim-Philipp Müller1-2/+2
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-10-22preset: remove variable not readMiguel Angel Cabrera Moya1-1/+0
https://bugzilla.gnome.org/show_bug.cgi?id=686659
2012-10-02docs: some 0.10 -> 1.0 changesWim Taymans1-1/+1
2012-08-17preset: implement child_proxy supportStefan Sauer1-65/+88
Elements such as the GstIirEqualizerNBands would so far not store the properties of their children. Now we also grab the properties of child elements and try to restore them.
2012-07-10Remove 0.10-related documentation and "Since" markersEdward Hervey1-20/+0
2012-04-04gst: Change versioningSebastian Dröge1-2/+2
Remove GST_MAJORMINOR and replace it by GST_API_VERSION Also set GST_VERSION_{MAJOR,MINOR,MICRO,NANO} explicitely now. All versions are at 1.0.0 now for the release soon but API/ABI can still change until the 1.0.0 release. Next release versions until 1.0.0 will be 0.10.9X and these will be release candidates. GST_VERSION_* will nonetheless stay at 1.0.0.0.
2011-12-12Merge remote-tracking branch 'origin/master' into 0.11Tim-Philipp Müller1-57/+145
2011-12-09preset: allow applications to specify an extra preset dirStefan Sauer1-57/+145
An extra application preset dir help to organize presets created for special purposes. Fixes #660760 API: gst_preset_set_app_dir(), gst_preset_get_app_dir()
2011-05-26Merge branch 'master' into 0.11Sebastian Dröge1-2/+3
2011-05-24preset: use guint for the version number partsStefan Kost1-2/+3
Use unsigned integers for extra safety (like we do in plugin version parsing).
2011-05-20Merge branch 'master' into 0.11Wim Taymans1-0/+2
Conflicts: docs/plugins/gstreamer-plugins.hierarchy
2011-05-20preset: include cleanupStefan Kost1-0/+2
Only have include in the installed header we need to use it. Move the includes needed by the implementation to the c file.
2011-05-03core: store presets, registry and plugins in XDG directories.Philippe Normand1-3/+3
Presets and plugins moved to $XDG_DATA_HOME/gstreamer-0.11/ root directory. Registry moved to $XDG_CACHE_HOME/gstreamer-0.11/. Fixes bug #518597.
2010-12-07docs: gst: more gobject introspection annotationsTim-Philipp Müller1-3/+5
Many of these are superfluous, added for clarity.
2009-10-15docs: clarify preset api docsStefan Kost1-2/+2
2009-05-24preset: fix update ruleStefan Kost1-3/+5
Only update the preset from system, if we had a preset before and system version is newer.
2009-04-04gst: Use G_DEFINE_TYPE and friends or at least g_once_init_* in the ↵Sebastian Dröge1-3/+5
_get_type() functions
2008-10-31gst/gstpreset.c: Use g_unlink instead of unlink.Stefan Kost1-1/+1
Original commit message from CVS: * gst/gstpreset.c: Use g_unlink instead of unlink. * gst/gststructure.c: Use glib type. * gst/gstutils.c: Add a FIXME:. * gst/gsttaglist.c: * gst/gsttypefind.c: * gst/gstvalue.c: Formatting & whitespaces.
2008-07-01gst/gstevent.c: Use gst_format_get_name() to improve debug output.Stefan Kost1-98/+20
Original commit message from CVS: * gst/gstevent.c: Use gst_format_get_name() to improve debug output. * gst/gstpreset.c: Remove #ifdef'ed code. Add TODO comment. * gst/gstsegment.c: Add debug output to ease spotting format != segment.format assertions.
2008-06-11Rename DATADIR to GST_DATADIR to avoid build problemsDavid Schleef1-2/+2
Original commit message from CVS: * configure.ac: * gst/gstpreset.c: Rename DATADIR to GST_DATADIR to avoid build problems on win32. Patch By: David Schleef <ds@schleef.org> Fixes: #536857
2008-05-27gst/gstpreset.c: Add Since: markers to docs blurbs.Tim-Philipp Müller1-0/+16
Original commit message from CVS: * gst/gstpreset.c: (gst_preset_default_get_meta), (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): Add Since: markers to docs blurbs. * win32/common/libgstreamer.def: Add recently-added API.
2008-05-27configure.ac: Add DATADIR for storing presets.Stefan Kost1-0/+1175
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.
2007-11-26Due to popular request remove preset interface again. :-(.Stefan Kost1-1138/+0
Original commit message from CVS: * docs/gst/gstreamer-docs.sgml: * docs/gst/gstreamer-sections.txt: * docs/gst/gstreamer.types.in: * gst/Makefile.am: * gst/gst.h: * gst/gstpreset.c: * gst/gstpreset.h: * plugins/elements/gstqueue.c: Due to popular request remove preset interface again. :-(.
2007-11-22gst/gstpreset.c: Try harder to use the return value from fgets().Stefan Kost1-5/+5
Original commit message from CVS: * gst/gstpreset.c: Try harder to use the return value from fgets().
2007-11-21gst/gstpreset.c: For theses two fgets we handle the error below.Stefan Kost1-2/+2
Original commit message from CVS: * gst/gstpreset.c: For theses two fgets we handle the error below.
2007-11-20gst/gstpreset.c: Plug a leak and fix saving.Stefan Kost1-1/+5
Original commit message from CVS: * gst/gstpreset.c: Plug a leak and fix saving.
2007-11-20gst/gstpreset.*: Change _get_preset_names API to return a strv with copies. ↵Stefan Kost1-61/+108
Add _get_property_names to allow implemen... Original commit message from CVS: * gst/gstpreset.c: * gst/gstpreset.h: Change _get_preset_names API to return a strv with copies. Add _get_property_names to allow implementations to filter and provide good default implementation.
2007-11-19gst/gstpreset.c: More cleanups, docs, and TODOs from comments that now ↵Stefan Kost1-14/+32
slowly come in. Original commit message from CVS: * gst/gstpreset.c: More cleanups, docs, and TODOs from comments that now slowly come in.
2007-11-19gst/gstpreset.c: Fix bogus warning and make the property type specific code ↵Stefan Kost1-13/+15
more similar. Original commit message from CVS: * gst/gstpreset.c: Fix bogus warning and make the property type specific code more similar.
2007-11-19gst/gstpreset.c: Make it build on OS X.Julien Moutte1-2/+2
Original commit message from CVS: 2007-11-19 Julien MOUTTE <julien@moutte.net> * gst/gstpreset.c: (gst_preset_default_create_preset): Make it build on OS X.
2007-11-17gst/gstevent.c: Little documentation improvment.Stefan Kost1-14/+16
Original commit message from CVS: * gst/gstevent.c: Little documentation improvment. * gst/gstpreset.c: More TODO cleanups. Remove c++ comments. * libs/gst/controller/gstcontroller.c: Add TODO and use quark from static string. * tests/check/gst/gstmessage.c: * tests/check/gst/gststructure.c: Use quark from static string.
2007-11-17gst/gstpreset.c: Add some comments and TODOs.Stefan Kost1-0/+1
Original commit message from CVS: * gst/gstpreset.c: Add some comments and TODOs. * gst/gstpreset.h: Add padding for future changes. * plugins/elements/gstqueue.c: Implement the iface.
2007-11-17Add the preset interface (Fixes #396779). Do some doc cleanups along.Stefan Kost1-0/+1064
Original commit message from CVS: * docs/gst/gstreamer-docs.sgml: * docs/gst/gstreamer-sections.txt: * docs/gst/gstreamer.types.in: * gst/Makefile.am: * gst/gst.h: * gst/gstpreset.c: * gst/gstpreset.h: Add the preset interface (Fixes #396779). Do some doc cleanups along.