GNOME Bugzilla – Bug 791407
pad: _start_task() will leak the user data if the task is in paused state
Last modified: 2018-11-03 12:43:34 UTC
The pad does not mimic one to one the GstTask API. So basically gst_pad_start_stask() is a combination of task_new() and task_start(). When the task has been paused, this function behaves like task_start() ignoring the callback, user data and destroy notify. This is kind of bug prone, as code may expect these to be updated. But the main problem is that the userdata will be leaked since the GDestroyNotify is not called.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/261.