mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
20 lines
278 B
C
20 lines
278 B
C
|
#include <gst/gst.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;
|
||
|
}
|