Remove Context from Elements
nicolas at ndufresne.ca
Tue Apr 6 13:57:20 UTC 2021
Le mardi 06 avril 2021 à 08:43 +0100, Matthew Walker a écrit :
> Hi all,
> I am working on an application which creates and utilises gstreamer pipelines.
> One of the requirements is that the application must be able to erase the STC
> context from the pipeline when stopping playback.
> Currently I am using a function which resets the STC context on a given
> element in conjunction with gst_iterator_foreach but I was wondering if there
> was a better way to do this. Is there a gstreamer function which can remove
> the STC context type from the context list of every element in a pipeline?
All GstContext stored should be release when setting the pipeline to NULL state.
If not, this is a bug.
> Thanks for your help,
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
More information about the gstreamer-devel