diff options
Diffstat (limited to 'docs/gst/html/GstPreset.html')
-rw-r--r-- | docs/gst/html/GstPreset.html | 59 |
1 files changed, 55 insertions, 4 deletions
diff --git a/docs/gst/html/GstPreset.html b/docs/gst/html/GstPreset.html index 532c5c0..7156576 100644 --- a/docs/gst/html/GstPreset.html +++ b/docs/gst/html/GstPreset.html @@ -3,8 +3,8 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>GstPreset</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> -<link rel="home" href="index.html" title="GStreamer 0.11 Core Reference Manual"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="index.html" title="GStreamer 1.0 Core Reference Manual"> <link rel="up" href="libgstreamer.html" title="GStreamer Core Library"> <link rel="prev" href="gstreamer-GstPoll.html" title="GstPoll"> <link rel="next" href="gstreamer-GstQuery.html" title="GstQuery"> @@ -17,7 +17,7 @@ <td><a accesskey="p" href="gstreamer-GstPoll.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> <td><a accesskey="u" href="libgstreamer.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> -<th width="100%" align="center">GStreamer 0.11 Core Reference Manual</th> +<th width="100%" align="center">GStreamer 1.0 Core Reference Manual</th> <td><a accesskey="n" href="gstreamer-GstQuery.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> </tr> <tr><td colspan="5" class="shortcuts"> @@ -63,6 +63,8 @@ struct <a class="link" href="GstPreset.html#GstPresetInterface" tit <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *tag</code></em>, <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **value</code></em>); +<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GstPreset.html#gst-preset-set-app-dir" title="gst_preset_set_app_dir ()">gst_preset_set_app_dir</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *app_dir</code></em>); +const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GstPreset.html#gst-preset-get-app-dir" title="gst_preset_get_app_dir ()">gst_preset_get_app_dir</a> (<em class="parameter"><code><span class="type">void</span></code></em>); </pre> </div> <div class="refsect1"> @@ -89,6 +91,13 @@ native preset format of those wrapped plugins. One method that is useful to be overridden is <a class="link" href="GstPreset.html#gst-preset-get-property-names" title="gst_preset_get_property_names ()"><code class="function">gst_preset_get_property_names()</code></a>. With that one can control which properties are saved and in which order. </p> +<p> +The default implementation supports presets located in a system directory, +application specific directory and in the users home directory. When getting +a list of presets individual presets are read and overlaid in 1) system, +2) application and 3) user order. Whenever an earlier entry is newer, the +later entries will be updated. +</p> </div> <div class="refsect1"> <a name="GstPreset.details"></a><h2>Details</h2> @@ -115,7 +124,7 @@ Opaque <a class="link" href="GstPreset.html" title="GstPreset"><span class="type gboolean (*rename_preset) (GstPreset *preset, const gchar *old_name, const gchar *new_name); gboolean (*delete_preset) (GstPreset *preset, const gchar *name); - + gboolean (*set_meta) (GstPreset *preset, const gchar *name, const gchar *tag, const gchar *value); gboolean (*get_meta) (GstPreset *preset, const gchar *name, @@ -428,6 +437,48 @@ or no value for the given <em class="parameter"><code>tag</code></em> </table></div> <p class="since">Since 0.10.20</p> </div> +<hr> +<div class="refsect2"> +<a name="gst-preset-set-app-dir"></a><h3>gst_preset_set_app_dir ()</h3> +<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_preset_set_app_dir (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *app_dir</code></em>);</pre> +<p> +Sets an extra directory as an absolute path that should be considered when +looking for presets. Any presets in the application dir will shadow the +system presets. +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>app_dir</code></em> :</span></p></td> +<td>the application specific preset dir</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> for success, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the dir already has been set</td> +</tr> +</tbody> +</table></div> +<p class="since">Since 0.10.36</p> +</div> +<hr> +<div class="refsect2"> +<a name="gst-preset-get-app-dir"></a><h3>gst_preset_get_app_dir ()</h3> +<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gst_preset_get_app_dir (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> +<p> +Gets the directory for application specific presets if set by the +application. +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody><tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>the directory or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, don't free or modify the string</td> +</tr></tbody> +</table></div> +<p class="since">Since 0.10.36</p> +</div> </div> </div> <div class="footer"> |