QtGstreamer fails creating pipeline after QGst::cleanup()
Maxphil
maxphil at gmail.com
Tue Nov 29 06:36:07 PST 2011
It shows nothing on stderr. I would expect init() to fail after cleanup().
Thanks!
--
Karl Phillip
On 29/11/2011, at 11:39, George Kiagiadakis <kiagiadakis.george at gmail.com> wrote:
> 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?
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list