diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2017-12-03 15:48:22 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2018-01-17 17:02:48 +0300 |
commit | f38479da5ceaa8e8660f9f5d949f81c831efd160 (patch) | |
tree | e5617372893af636cd626f962f6edbb47f154f27 | |
parent | 4053374e5a12115e19a08dc0004d220147503d51 (diff) |
gst: Annotate various strings as type filename if they represent a path/filename
-rw-r--r-- | gst/gstdebugutils.c | 4 | ||||
-rw-r--r-- | gst/gstplugin.c | 4 | ||||
-rw-r--r-- | gst/gstregistry.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/gst/gstdebugutils.c b/gst/gstdebugutils.c index 46f628ea20..7b89ed6927 100644 --- a/gst/gstdebugutils.c +++ b/gst/gstdebugutils.c @@ -822,7 +822,7 @@ gst_debug_bin_to_dot_data (GstBin * bin, GstDebugGraphDetails details) /* * gst_debug_bin_to_dot_file: * @bin: the top-level pipeline that should be analyzed - * @file_name: output base filename (e.g. "myplayer") + * @file_name: (type filename): output base filename (e.g. "myplayer") * * To aid debugging applications one can use this method to write out the whole * network of gstreamer elements that form the pipeline into an dot file. @@ -872,7 +872,7 @@ gst_debug_bin_to_dot_file (GstBin * bin, GstDebugGraphDetails details, /* * gst_debug_bin_to_dot_file_with_ts: * @bin: the top-level pipeline that should be analyzed - * @file_name: output base filename (e.g. "myplayer") + * @file_name: (type filename): output base filename (e.g. "myplayer") * * This works like gst_debug_bin_to_dot_file(), but adds the current timestamp * to the filename, so that it can be used to take multiple snapshots. diff --git a/gst/gstplugin.c b/gst/gstplugin.c index 506478dcd2..c42da9652d 100644 --- a/gst/gstplugin.c +++ b/gst/gstplugin.c @@ -667,7 +667,7 @@ static GMutex gst_plugin_loading_mutex; /** * gst_plugin_load_file: - * @filename: the plugin filename to load + * @filename: (type filename): the plugin filename to load * @error: pointer to a %NULL-valued GError * * Loads the given plugin and refs it. Caller needs to unref after use. @@ -913,7 +913,7 @@ gst_plugin_get_description (GstPlugin * plugin) * * get the filename of the plugin * - * Returns: the filename of the plugin + * Returns: (type filename): the filename of the plugin */ const gchar * gst_plugin_get_filename (GstPlugin * plugin) diff --git a/gst/gstregistry.c b/gst/gstregistry.c index dbd373a108..abd6a4103e 100644 --- a/gst/gstregistry.c +++ b/gst/gstregistry.c @@ -1369,7 +1369,7 @@ gst_registry_scan_path_internal (GstRegistryScanContext * context, /** * gst_registry_scan_path: * @registry: the registry to add found plugins to - * @path: the path to scan + * @path: (type filename): the path to scan * * Scan the given path for plugins to add to the registry. The syntax of the * path is specific to the registry. |