diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2017-12-03 14:48:22 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2017-12-03 14:48:54 +0200 |
commit | 464f840a2341eef41a221e627e8db146279adda0 (patch) | |
tree | 07901cb9d6d7f174d58d206ff6ab09ca6a67c266 | |
parent | e6dbbb385404c96f3229d0048caf84b73a3efaa9 (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 850a0e00e..928638ecc 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 2e585877c..8e6393016 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. @@ -971,7 +971,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 983946ffc..bada33e01 100644 --- a/gst/gstregistry.c +++ b/gst/gstregistry.c @@ -1375,7 +1375,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. |