gstdebugutils.h | gstdebugutils.h | |||
---|---|---|---|---|
skipping to change at line 53 | skipping to change at line 53 | |||
* Since: 0.10.15 | * Since: 0.10.15 | |||
*/ | */ | |||
typedef enum { | typedef enum { | |||
GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE = (1<<0), | GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE = (1<<0), | |||
GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS = (1<<1), | GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS = (1<<1), | |||
GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS = (1<<2), | GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS = (1<<2), | |||
GST_DEBUG_GRAPH_SHOW_STATES = (1<<3), | GST_DEBUG_GRAPH_SHOW_STATES = (1<<3), | |||
GST_DEBUG_GRAPH_SHOW_ALL = ((1<<4)-1) | GST_DEBUG_GRAPH_SHOW_ALL = ((1<<4)-1) | |||
} GstDebugGraphDetails; | } GstDebugGraphDetails; | |||
#ifndef GST_DISABLE_GST_DEBUG | ||||
/********** pipeline graphs **********/ | /********** pipeline graphs **********/ | |||
void _gst_debug_bin_to_dot_file (GstBin *bin, GstDebugGraphDetails details, const gchar *file_name); | void _gst_debug_bin_to_dot_file (GstBin *bin, GstDebugGraphDetails details, const gchar *file_name); | |||
void _gst_debug_bin_to_dot_file_with_ts (GstBin *bin, GstDebugGraphDetails details, const gchar *file_name); | void _gst_debug_bin_to_dot_file_with_ts (GstBin *bin, GstDebugGraphDetails details, const gchar *file_name); | |||
#ifndef GST_DISABLE_GST_DEBUG | ||||
/** | /** | |||
* GST_DEBUG_BIN_TO_DOT_FILE: | * GST_DEBUG_BIN_TO_DOT_FILE: | |||
* @bin: the top-level pipeline that should be analyzed | * @bin: the top-level pipeline that should be analyzed | |||
* @details: details to show in the graph, e.g. #GST_DEBUG_GRAPH_SHOW_ALL o r | * @details: details to show in the graph, e.g. #GST_DEBUG_GRAPH_SHOW_ALL o r | |||
* one or more other #GstDebugGraphDetails flags. | * one or more other #GstDebugGraphDetails flags. | |||
* @file_name: output base filename (e.g. "myplayer") | * @file_name: output base filename (e.g. "myplayer") | |||
* | * | |||
* To aid debugging applications one can use this method to write out the w hole | * To aid debugging applications one can use this method to write out the w hole | |||
* network of gstreamer elements that form the pipeline into an dot file. | * network of gstreamer elements that form the pipeline into an dot file. | |||
* This file can be processed with graphviz to get an image. | * This file can be processed with graphviz to get an image. | |||
skipping to change at line 89 | skipping to change at line 89 | |||
*/ | */ | |||
#define GST_DEBUG_BIN_TO_DOT_FILE(bin, details, file_name) _gst_debug_bin_t o_dot_file (bin, details, file_name) | #define GST_DEBUG_BIN_TO_DOT_FILE(bin, details, file_name) _gst_debug_bin_t o_dot_file (bin, details, file_name) | |||
/** | /** | |||
* GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS: | * GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS: | |||
* @bin: the top-level pipeline that should be analyzed | * @bin: the top-level pipeline that should be analyzed | |||
* @details: details to show in the graph, e.g. #GST_DEBUG_GRAPH_SHOW_ALL o r | * @details: details to show in the graph, e.g. #GST_DEBUG_GRAPH_SHOW_ALL o r | |||
* one or more other #GstDebugGraphDetails flags. | * one or more other #GstDebugGraphDetails flags. | |||
* @file_name: output base filename (e.g. "myplayer") | * @file_name: output base filename (e.g. "myplayer") | |||
* | * | |||
* This works like _gst_debug_bin_to_dot_file(), but adds the current times tamp | * This works like GST_DEBUG_BIN_TO_DOT_FILE(), but adds the current timest amp | |||
* to the filename, so that it can be used to take multiple snapshots. | * to the filename, so that it can be used to take multiple snapshots. | |||
* | * | |||
* Since: 0.10.15 | * Since: 0.10.15 | |||
*/ | */ | |||
#define GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS(bin, details, file_name) _gst_deb ug_bin_to_dot_file_with_ts (bin, details, file_name) | #define GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS(bin, details, file_name) _gst_deb ug_bin_to_dot_file_with_ts (bin, details, file_name) | |||
#else /* GST_DISABLE_GST_DEBUG */ | #else /* GST_DISABLE_GST_DEBUG */ | |||
#define GST_DEBUG_BIN_TO_DOT_FILE(bin, details, file_name) | #define GST_DEBUG_BIN_TO_DOT_FILE(bin, details, file_name) | |||
#define GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS(bin, details, file_name) | #define GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS(bin, details, file_name) | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |