update for new memory api
[platform/upstream/gstreamer.git] / tests / examples / app / appsrc-stream.c
index 75ecf77..51398d7 100644 (file)
@@ -98,7 +98,7 @@ read_data (App * app)
 
   gst_buffer_take_memory (buffer, -1,
       gst_memory_new_wrapped (GST_MEMORY_FLAG_READONLY,
-          app->data, NULL, app->length, app->offset, len));
+          app->data, app->length, app->offset, len, NULL, NULL));
 
   GST_DEBUG ("feed buffer %p, offset %" G_GUINT64_FORMAT "-%u", buffer,
       app->offset, len);