MMVideoBuffer *video_buf = (MMVideoBuffer *)buffer;
/* Buffer at 0th position */
gst_buffer_append_memory(stream_buffer->buffer, gst_memory_new_wrapped(GST_MEMORY_FLAG_READONLY,
- video_buf->handle.paddr[0], size, 0, size, video_buf->handle.paddr[0], NULL));
+ video_buf->data[0], size, 0, size, video_buf->data[0], NULL));
/* Buffer at 1st position */
gst_buffer_append_memory(stream_buffer->buffer, gst_memory_new_wrapped(GST_MEMORY_FLAG_READONLY,
video_buf, sizeof(MMVideoBuffer), 0, sizeof(MMVideoBuffer), stream_buffer, _mmstreamrecorder_buffer_destroy));