Pythom Gst Memory Management

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Pythom Gst Memory Management

keepingitneil
Apologies is this is the wrong place for a python gstreamer question.

I noticed in the python gstreamer api, there exists ref() and unref() on the GSTObjects. Do I still need to worry about reference counting in python world or does python's garbage collection handle that?

Cheers,
Neil
Reply | Threaded
Open this post in threaded view
|

Re: Pythom Gst Memory Management

Thibault Saunier-4
Hello Neil,

You do not need to worry about memory management in python (PyGI), the
GC will do everything for you.

Cheers,

Thibault

On Wed, Jan 18, 2017 at 10:07 PM, keepingitneil <[hidden email]> wrote:

> Apologies is this is the wrong place for a python gstreamer question.
>
> I noticed in the python gstreamer api, there exists ref() and unref() on the
> GSTObjects. Do I still need to worry about reference counting in python
> world or does python's garbage collection handle that?
>
> Cheers,
> Neil
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Pythom-Gst-Memory-Management-tp4681548.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Pythom Gst Memory Management

keepingitneil
Best news I've heard all year ;) Cheers!

On Thu, Jan 19, 2017 at 2:56 AM, Thibault Saunier <[hidden email]> wrote:
Hello Neil,

You do not need to worry about memory management in python (PyGI), the
GC will do everything for you.

Cheers,

Thibault

On Wed, Jan 18, 2017 at 10:07 PM, keepingitneil <[hidden email]> wrote:
> Apologies is this is the wrong place for a python gstreamer question.
>
> I noticed in the python gstreamer api, there exists ref() and unref() on the
> GSTObjects. Do I still need to worry about reference counting in python
> world or does python's garbage collection handle that?
>
> Cheers,
> Neil
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Pythom-Gst-Memory-Management-tp4681548.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel