Proper way to clean up a GstPipeline
Alexander Sack
pisymbol at gmail.com
Mon Jan 25 15:13:14 UTC 2021
On Mon, Jan 25, 2021 at 4:07 AM Edward Hervey <bilboed at bilboed.com> wrote:
> Hi,
>
> The python bindings automatically take care of any ownership and
> reference
> counting. ex: doing `pipeline = None` essentially removes the reference
> that
> your python variable `pipeline` was holding on the pipeline. Same thing
> would
> happen once that python variable is no longer referenced by anything else.
>
> tdlr; there's no reason to use ref/unref from python code, the bindings
> take
> care of that.
>
>
That is what I assumed (I didn't look). Alright, thanks!
-aps
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210125/4331d0cf/attachment.htm>
More information about the gstreamer-devel
mailing list