[longomatch] Add debug dot dump for capturer errors
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Add debug dot dump for capturer errors
- Date: Fri, 30 Jan 2015 12:19:32 +0000 (UTC)
commit 2a95064d723b5046c15678d363016005272f2f33
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Fri Jan 30 13:19:09 2015 +0100
Add debug dot dump for capturer errors
libcesarplayer/gst-camera-capturer.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/libcesarplayer/gst-camera-capturer.c b/libcesarplayer/gst-camera-capturer.c
index a5fd0b1..7ddf0d6 100644
--- a/libcesarplayer/gst-camera-capturer.c
+++ b/libcesarplayer/gst-camera-capturer.c
@@ -923,8 +923,8 @@ cb_new_pad (GstElement * element, GstPad * pad, GstCameraCapturer * gcc)
gst_object_unref (epad);
gst_object_unref (sink);
}
- GST_DEBUG_BIN_TO_DOT_FILE(GST_BIN(gcc->priv->main_pipeline), GST_DEBUG_GRAPH_SHOW_ALL,
- "longomatch-capture-link");
+ GST_DEBUG_BIN_TO_DOT_FILE(GST_BIN(gcc->priv->main_pipeline),
+ GST_DEBUG_GRAPH_SHOW_ALL, "longomatch-capture-link");
gst_caps_unref (caps);
}
@@ -1339,6 +1339,8 @@ gcc_error_msg (GstCameraCapturer * gcc, GstMessage * msg)
g_message ("Error: %s\n%s\n", GST_STR_NULL (err->message),
GST_STR_NULL (dbg));
+ GST_DEBUG_BIN_TO_DOT_FILE(GST_BIN(gcc->priv->main_pipeline),
+ GST_DEBUG_GRAPH_SHOW_ALL, "longomatch-capture-error");
g_signal_emit (gcc, gcc_signals[SIGNAL_ERROR], 0, err->message);
g_error_free (err);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]