basetransform: Refactor caps suggestion on pad_alloc
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Sun, 28 Mar 2010 23:55:09 +0000 (20:55 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Mon, 29 Mar 2010 19:05:32 +0000 (16:05 -0300)
commit7558fed51bb63f1cf18367356c5de4b392c1ad68
treee8f54a058fc93d7d981ab217c1d8591443eff188
parent477a5d09393be54ec5629dfb6573406551e6ae0b
basetransform: Refactor caps suggestion on pad_alloc

Refactor the handling of sink suggestion caps variable
so that it always has a ref to the caps it points to.

Makes the code clearer.
libs/gst/base/gstbasetransform.c