Plugin Dispose & Finalize

Nicolas Dufresne nicolas at ndufresne.ca
Sat Nov 5 14:54:48 UTC 2016


Le 4 nov. 2016 12:42 PM, "ht techdev" <ht.techdev at gmail.com> a écrit :
>
> Hi
>
> Well it’s more for  clarification purposes. I am looking at a piece of
code that derives from GstVideoEncoder, which also implements _finalize
callback. However, I don’t see it being called when pipeline goes to NULL
or when pipeline is unreferenced.

This is the symptoms of a reference leak.

>
> Cheers,
>
>
>
> From: gstreamer-devel [mailto:
gstreamer-devel-bounces at lists.freedesktop.org] On Behalf Of Michael
Yarochkin
> Sent: Friday, November 04, 2016 1:44 AM
>
> To: 'Discussion of the development of and with GStreamer'
> Subject: Re: Plugin Dispose & Finalize
>
>
>
> Hi techdev
>
>
>
> Depends from what you want to achieve.
>
>
>
> Mikl
>
> ________________________________
>
> From: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org> on
behalf of ht techdev <ht.techdev at gmail.com>
> Sent: Thursday, November 3, 2016 8:18:57 PM
> To: 'Discussion of the development of and with GStreamer'
> Subject: Plugin Dispose & Finalize
>
>
>
> Hi
>
> Just wondering if these methods need to implemented if I am using
GstVideoEncoder base class?
>
> Cheers,
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161105/b1333511/attachment-0001.html>


More information about the gstreamer-devel mailing list