ducatividdec: add a comment about a fishy, but OK, bit of code
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Tue, 17 Jul 2012 10:09:31 +0000 (10:09 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Tue, 17 Jul 2012 10:17:33 +0000 (10:17 +0000)
I can't think of a good way to size this statically, and that size
seems like a good enough bound, even though it's technically wrong.

src/gstducatividdec.c

index 205dca17fa5db24ae89bdd507e2e81c76a2ba770..afb36749a5c47048a6f095e1c685cd4c4beb2f01 100644 (file)
@@ -183,6 +183,7 @@ codec_create (GstDucatiVidDec * self)
   self->first_out_buffer = TRUE;
 
   /* allocate input buffer and initialize inBufs: */
+  /* FIXME:  needed size here has nothing to do with width * height */
   self->input_bo = omap_bo_new (self->device,
       self->width * self->height, OMAP_BO_WC);
   self->input = omap_bo_map (self->input_bo);