update for buffer api change

This commit is contained in:
Wim Taymans 2012-03-30 18:14:00 +02:00
parent 2c881eb752
commit 182af2df48

View file

@ -442,7 +442,7 @@ new_aligned_buffer (gint size)
data = av_malloc (size);
buf = gst_buffer_new ();
gst_buffer_take_memory (buf, -1,
gst_buffer_append_memory (buf,
gst_memory_new_wrapped (0, data, size, 0, size, data, av_free));
return buf;