[Bug 767483] Maximum number of clients reached, memory accumulation

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jun 17 10:10:05 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=767483

--- Comment #9 from Joona Laine <joonarlaine at gmail.com> ---
And btw, I'm not seeing that "maximum number of clients reached" anymore. I did
something to the way I was removing objects and that error message changed to
what I'm getting now.

This is how I remove the pipelines/videowidgets:

 // First close all existing streams
    if (_players->length() > 0)     //_players is a QVector
    {
        Player *p;
        for (int i = 0; i < _players->length(); ++i)
        {
//            _players->at(i)->stop();
            p = _players->at(i);
            delete p;
            p = NULL;
        }
        _players->clear();

        QLayoutItem *child;
        while ((child = _parentLayout->takeAt(0)) != 0)
        {
            QWidget *asd = child->widget();
            asd->deleteLater();

        }

    }

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list