X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gst%2Fgstdebugutils.c;h=a13f5488d1d4d1e6338215cd1f067e5bd59012d4;hb=e6bd5b41935f125bf43e030dcb909c3537d33b31;hp=64e0bf50417462a12cdf258c5f950ab2560e8dab;hpb=d8a1bf08b1f94fcb25029bef8b6a6a93693245b7;p=platform%2Fupstream%2Fgstreamer.git diff --git a/gst/gstdebugutils.c b/gst/gstdebugutils.c index 64e0bf5..a13f548 100644 --- a/gst/gstdebugutils.c +++ b/gst/gstdebugutils.c @@ -1,7 +1,7 @@ /* GStreamer * Copyright (C) 2007 Stefan Kost * - * gstdebugutils.c: debugging and analysis utillities + * gstdebugutils.c: debugging and analysis utilities * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -21,7 +21,7 @@ /* TODO: * edge [ constraint=false ]; * this creates strange graphs ("minlen=0" is better) - * try puting src/sink ghostpads for each bin into invisible clusters + * try putting src/sink ghostpads for each bin into invisible clusters * * for more compact nodes, try * - changing node-shape from box into record @@ -58,7 +58,7 @@ extern const gchar *priv_gst_dump_dot_dir; /* NULL *//* set from gst.c */ #define PARAM_MAX_LENGTH 80 -const gchar spaces[] = { +static const gchar spaces[] = { " " /* 32 */ " " /* 64 */ " " /* 96 */ @@ -774,7 +774,7 @@ debug_dump_header (GstBin * bin, GstDebugGraphDetails details, GString * str) " pos=\"0,0!\",\n" " margin=\"0.05,0.05\",\n" " style=\"filled\",\n" - " label=\"Legend\\lElement-States: [~] void-pending, [0] null, [-] ready, [=] paused, [>] playing\\lPad-Activation: [-] none, [>] push, [<] pull\\lPad-Flags: [b]locked, [f]lushing, [b]locking; upper-case is set\\lPad-Task: [T] has started task, [t] has paused task\\l\",\n" + " label=\"Legend\\lElement-States: [~] void-pending, [0] null, [-] ready, [=] paused, [>] playing\\lPad-Activation: [-] none, [>] push, [<] pull\\lPad-Flags: [b]locked, [f]lushing, [b]locking, [E]OS; upper-case is set\\lPad-Task: [T] has started task, [t] has paused task\\l\",\n" " ];" "\n", G_OBJECT_TYPE_NAME (bin), GST_OBJECT_NAME (bin), (state_name ? state_name : ""), (param_name ? param_name : "") @@ -792,9 +792,10 @@ debug_dump_footer (GString * str) g_string_append_printf (str, "}\n"); } -/* +/** * gst_debug_bin_to_dot_data: * @bin: the top-level pipeline that should be analyzed + * @details: type of #GstDebugGraphDetails to use * * To aid debugging applications one can use this method to obtain the whole * network of gstreamer elements that form the pipeline into an dot file. @@ -819,10 +820,11 @@ gst_debug_bin_to_dot_data (GstBin * bin, GstDebugGraphDetails details) return g_string_free (str, FALSE); } -/* +/** * gst_debug_bin_to_dot_file: * @bin: the top-level pipeline that should be analyzed - * @file_name: output base filename (e.g. "myplayer") + * @details: type of #GstDebugGraphDetails to use + * @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. @@ -869,10 +871,11 @@ gst_debug_bin_to_dot_file (GstBin * bin, GstDebugGraphDetails details, g_free (full_file_name); } -/* +/** * 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") + * @details: type of #GstDebugGraphDetails to use + * @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.