[gst-devel] [gst-cvs] ensonic gstreamer: gstreamer/ gstreamer/gst/

Stefan Kost ensonic at hora-obscura.de
Fri Aug 29 09:52:29 CEST 2008


Michael Smith schrieb:
> On Thu, Aug 28, 2008 at 2:02 PM, Stefan Kost <ensonic at hora-obscura.de> wrote:
>> hi,
>>
>> this 'fix' causes some trouble. The issue is basically that in
>> gst/gstpadtemplate.c::465 we now make a copy and I unref the old caps, so that
>> we don't leak it. This causes a problem for e.g. ffmpeg which e.g. in
>> gstffmpegdemux.c:1652 keep a pointer to the caps, but never refs() it.
> 
> This is pretty clearly a bug in gstffmpeg (there are similar bugs in
> alaw, at least, and possibly others). The documentation has always
> been clear, that this function takes ownership of the caps.
> 
> However, obviously we don't want to just break everything suddenly.
> 
> I'd suggest: revert this change, fix all the plugins that rely on the
> old behaviour, then after the next round of releases, reinstate the
> fix, so we stop leaking caps.

david, mike thanks for taking corrective actions already. I would suggest 
developers to reapply the change localy so that we can spot misbehaving plugins.

Stefan

> 
> Mike
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-cvs mailing list
> gstreamer-cvs at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-cvs





More information about the gstreamer-devel mailing list