QtGstreamer fails creating pipeline after QGst::cleanup()

George Kiagiadakis kiagiadakis.george at gmail.com
Tue Nov 29 05:39:34 PST 2011


On Tue, Nov 29, 2011 at 1:36 PM, Karl Phillip <maxphil at gmail.com> wrote:
> Hi all,
>
> I spent a lot of time to pinpoint this problem and I wonder if it's a bug of
> QtGstreamer or not.
> If it's not, we seriously need to make this thing more clear on the
> documentation and prevent others from making the same mistake as I did.

It's not a bug, afaik. After calling QGst::cleanup() (i.e.
gst_deinit()), you cannot use GStreamer anymore. This method is
intended to be used to cleanup when you exit your application, just to
avoid showing possible leaks in memory profilers like valgrind. You
normally don't need to call it at all.

> What is also strange is that calling QGst::init() after a cleanup() doesn't
> return any errors nor throw exceptions, which I think it should, since you
> can't use the library to create a new pipeline rendering it pretty much
> useless.

Doesn't it show anything on stderr?


More information about the gstreamer-devel mailing list