Also print event stats on exit.

Original commit message from CVS:
Also print event stats on exit.
This commit is contained in:
Wim Taymans 2002-07-08 19:23:59 +00:00
parent f84641b8cb
commit 550446c738

View file

@ -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));