glupload: Add fixme about using bufferpool for raw

http://bugzilla.gnome.org/show_bug.cgi?id=752937
This commit is contained in:
Nicolas Dufresne 2015-07-28 08:59:24 -04:00 committed by Tim-Philipp Müller
parent 2b2048d601
commit f8dbf10e9e

View file

@ -812,6 +812,7 @@ _raw_data_upload_perform (gpointer impl, GstBuffer * buffer,
&raw->upload->priv->in_info, NULL, raw->in_frame->frame.data, in_tex, &raw->upload->priv->in_info, NULL, raw->in_frame->frame.data, in_tex,
raw->in_frame, (GDestroyNotify) _raw_upload_frame_unref); raw->in_frame, (GDestroyNotify) _raw_upload_frame_unref);
/* FIXME Use a buffer pool to cache the generated textures */
*outbuf = gst_buffer_new (); *outbuf = gst_buffer_new ();
for (i = 0; i < max_planes; i++) { for (i = 0; i < max_planes; i++) {
_raw_upload_frame_ref (raw->in_frame); _raw_upload_frame_ref (raw->in_frame);