From 550446c738eb3dbcb3b0471a011189edc3f77175 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 8 Jul 2002 19:23:59 +0000 Subject: [PATCH] Also print event stats on exit. Original commit message from CVS: Also print event stats on exit. --- tools/gst-launch.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/gst-launch.c b/tools/gst-launch.c index f32aeba..965f0a4 100644 --- a/tools/gst-launch.c +++ b/tools/gst-launch.c @@ -192,6 +192,8 @@ main(int argc, char *argv[]) if (!savefile) { gst_buffer_print_stats(); + gst_event_print_stats(); + fprintf(stderr,"RUNNING pipeline\n"); if (gst_element_set_state (pipeline, GST_STATE_PLAYING) != GST_STATE_SUCCESS) { fprintf(stderr,"pipeline doesn't want to play\n"); @@ -210,6 +212,7 @@ main(int argc, char *argv[]) gst_element_set_state (pipeline, GST_STATE_NULL); gst_buffer_print_stats(); + gst_event_print_stats(); } gst_object_unref (GST_OBJECT (pipeline)); -- 2.7.4