From: Wim T. <wt...@us...> - 2002-07-08 19:24:16
|
CVS Root: /cvsroot/gstreamer Module: gstreamer Changes by: wtay Date: Mon Jul 08 2002 12:24:12 PDT Log message: Also print event stats on exit. Modified files: tools : gst-launch.c Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/tools/gst-launch.c.diff?r1=1.24&r2=1.25 ====Begin Diffs==== Index: gst-launch.c =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/tools/gst-launch.c,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- gst-launch.c 3 Jun 2002 20:59:02 -0000 1.24 +++ gst-launch.c 8 Jul 2002 19:23:59 -0000 1.25 @@ -192,6 +192,8 @@ 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 @@ gst_element_set_state (pipeline, GST_STATE_NULL); gst_buffer_print_stats(); + gst_event_print_stats(); } gst_object_unref (GST_OBJECT (pipeline)); |