gstreamer/test/bufspeed/test1.c
Erik Walthinsen d574ab8126 merge from EVENTS1 on 20011016
Original commit message from CVS:
merge from EVENTS1 on 20011016
2001-10-17 10:21:27 +00:00

19 lines
280 B
C

#include "gstbuffer.h"
int
main (int argc, char *argv[])
{
GstBuffer *buf;
guint i;
g_thread_init (NULL);
gtk_init (&argc, &argv);
_gst_buffer_initialize ();
for (i=0; i<5000000; i++) {
buf = gst_buffer_new ();
gst_buffer_unref (buf);
}
return 0;
}