diff options
author | Thibault Saunier <tsaunier@gnome.org> | 2014-08-12 09:36:34 +0200 |
---|---|---|
committer | Thibault Saunier <tsaunier@gnome.org> | 2014-08-12 13:17:20 +0200 |
commit | 161610c26e2ee0ee2f4ddf34b06ccdb8368aeef6 (patch) | |
tree | 7eecf8dd6552e8d081da4cac633fd16116135bbe | |
parent | f4db183b2b3b4422d77eb479ba003772676027c8 (diff) |
validate: Print when we set pipeline state because of buffering
-rw-r--r-- | validate/tools/gst-validate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/validate/tools/gst-validate.c b/validate/tools/gst-validate.c index f8a5498..b186c95 100644 --- a/validate/tools/gst-validate.c +++ b/validate/tools/gst-validate.c @@ -144,11 +144,13 @@ bus_callback (GstBus * bus, GstMessage * message, gpointer data) /* a 100% message means buffering is done */ if (buffering) { buffering = FALSE; + g_print ("Done buffering, setting pipeline to PLAYING\n"); gst_element_set_state (pipeline, GST_STATE_PLAYING); } } else { /* buffering... */ if (!buffering) { + g_print ("Start buffering, setting pipeline to PAUSED\n"); gst_element_set_state (pipeline, GST_STATE_PAUSED); buffering = TRUE; } |