[longomatch] Add a dot dump on errors and use same naming scheme
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Add a dot dump on errors and use same naming scheme
- Date: Wed, 28 Jan 2015 15:24:29 +0000 (UTC)
commit e898c3693bc3a7d81da10ecb00d63760ae914cc2
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Tue Jan 27 12:12:16 2015 +0100
Add a dot dump on errors and use same naming scheme
libcesarplayer/gst-video-editor.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/libcesarplayer/gst-video-editor.c b/libcesarplayer/gst-video-editor.c
index b834eec..a72f919 100644
--- a/libcesarplayer/gst-video-editor.c
+++ b/libcesarplayer/gst-video-editor.c
@@ -426,10 +426,10 @@ gve_bus_message_cb (GstBus * bus, GstMessage * message, gpointer data)
}
if (old_state == GST_STATE_NULL && new_state == GST_STATE_READY)
GST_DEBUG_BIN_TO_DOT_FILE (GST_BIN (gve->priv->main_pipeline),
- GST_DEBUG_GRAPH_SHOW_ALL, "gst-camera-capturer-null-to-ready");
+ GST_DEBUG_GRAPH_SHOW_ALL, "longomatch-editor-null-to-ready");
if (old_state == GST_STATE_READY && new_state == GST_STATE_PAUSED)
GST_DEBUG_BIN_TO_DOT_FILE (GST_BIN (gve->priv->main_pipeline),
- GST_DEBUG_GRAPH_SHOW_ALL, "gst-camera-capturer-ready-to-paused");
+ GST_DEBUG_GRAPH_SHOW_ALL, "longomatch-editor-ready-to-paused");
break;
}
case GST_MESSAGE_EOS:
@@ -464,6 +464,8 @@ gve_error_msg (GstVideoEditor * gve, 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(gve->priv->main_pipeline),
+ GST_DEBUG_GRAPH_SHOW_ALL, "longomatch-editor-error");
g_signal_emit (gve, gve_signals[SIGNAL_ERROR], 0, err->message);
g_error_free (err);
g_free (dbg);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]