GST_DEBUG and compileed pipelines

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

GST_DEBUG and compileed pipelines

Wes Miller
Administrator
Hi All,

I've been writing an intercom app in C++ using GStreamer 0-10.28 on Ubuntu 10.04.  I have it setup so that I can launch multiple senders and/or receivers, each in a separate thread.  

The sender pipe uses analsasrc to capture input from my microphone.

While debugging the termination of the threads and their interaction with the object destructor, I tried setting the environment var GST_DEBUG to various levels , 1 to 5.  With level 1 to 3, everything worked as I expected.  When I used 4 or 5, the whole program crashed informing me that there was no such thing as alsasrc.  The debug output showed that the pipeline and loop were successfully created.  But on the next statement:

    g_assert( (m_microphone     = gst_element_factory_make( "alsasrc", "microphone"     )));

I got the noted error from gstreamer (if the assert ever fired I didn't see it).

Is this a known limitation?  Bug?

Thanks,

Wes
Reply | Threaded
Open this post in threaded view
|

Re: GST_DEBUG and compileed pipelines

Tim-Philipp Müller-2
On Fri, 2011-08-12 at 11:20 -0700, Wes Miller wrote:
> When I used 4 or 5, the whole program crashed informing me that
> there was no such thing as alsasrc.

Well, does it crash or not? If it crashes, what's the stack trace?

If it doesn't crash, what's the *exact* error message/warning/whatever.

Cheers
 -Tim

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel