Original commit message from CVS:
Added buffer stats at the end, if it's not 0, we have a leak.
if (run_pipeline) {
arg_search(GST_BIN(pipeline),"xid",xid_handler,NULL);
+ gst_buffer_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");
gst_main ();
gst_element_set_state (pipeline, GST_STATE_NULL);
+ gst_buffer_print_stats();
}
gst_object_unref (GST_OBJECT (pipeline));