mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
Also print event stats on exit.
Original commit message from CVS: Also print event stats on exit.
This commit is contained in:
parent
f84641b8cb
commit
550446c738
1 changed files with 3 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue