mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
gst: minor docstring fixups to make g-i happy
note: the #ifndef move is actually a move of the "SECTION" docstring
This commit is contained in:
parent
b467420578
commit
29353c1b59
3 changed files with 9 additions and 8 deletions
|
@ -19,6 +19,10 @@
|
|||
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
||||
* Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
/* API compatibility stuff */
|
||||
#ifndef __GSTCOMPAT_H__
|
||||
#define __GSTCOMPAT_H__
|
||||
/**
|
||||
* SECTION:gstcompat
|
||||
* @short_description: Deprecated API entries
|
||||
|
@ -28,9 +32,6 @@
|
|||
* This can be done in CFLAGS for compiling old code.
|
||||
*/
|
||||
|
||||
/* API compatibility stuff */
|
||||
#ifndef __GSTCOMPAT_H__
|
||||
#define __GSTCOMPAT_H__
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
|
|
@ -1293,13 +1293,13 @@ gst_debug_set_color_mode (GstDebugColorMode mode)
|
|||
* Since: 1.2
|
||||
*/
|
||||
void
|
||||
gst_debug_set_color_mode_from_string (const gchar * str)
|
||||
gst_debug_set_color_mode_from_string (const gchar * mode)
|
||||
{
|
||||
if ((strcmp (str, "on") == 0) || (strcmp (str, "auto") == 0))
|
||||
if ((strcmp (mode, "on") == 0) || (strcmp (mode, "auto") == 0))
|
||||
gst_debug_set_color_mode (GST_DEBUG_COLOR_MODE_ON);
|
||||
else if ((strcmp (str, "off") == 0) || (strcmp (str, "disable") == 0))
|
||||
else if ((strcmp (mode, "off") == 0) || (strcmp (mode, "disable") == 0))
|
||||
gst_debug_set_color_mode (GST_DEBUG_COLOR_MODE_OFF);
|
||||
else if (strcmp (str, "unix") == 0)
|
||||
else if (strcmp (mode, "unix") == 0)
|
||||
gst_debug_set_color_mode (GST_DEBUG_COLOR_MODE_UNIX);
|
||||
}
|
||||
|
||||
|
|
|
@ -354,7 +354,7 @@ gboolean gst_debug_is_active (void);
|
|||
|
||||
void gst_debug_set_colored (gboolean colored);
|
||||
void gst_debug_set_color_mode (GstDebugColorMode mode);
|
||||
void gst_debug_set_color_mode_from_string (const gchar * str);
|
||||
void gst_debug_set_color_mode_from_string (const gchar * mode);
|
||||
gboolean gst_debug_is_colored (void);
|
||||
GstDebugColorMode gst_debug_get_color_mode (void);
|
||||
|
||||
|
|
Loading…
Reference in a new issue