Error on removing pad

Tim Müller tim at centricular.com
Mon Feb 3 22:38:10 CET 2014


On Mon, 2014-02-03 at 17:06 +0530, Yogesh Tyagi wrote:

Hi,

> I am getting following error on calling
> gst_element_remove_pad(GST_ELEMENT_CAST(demux), GST_PAD(pad)))
> 
> GThread-ERROR **: file gthread-posix.c: line 182
> (g_mutex_free_posix_impl): error 'Device or resource busy' during
> 'pthread_mutex_destroy ((pthread_mutex_t *) mutex)'

This usually happens when you try to free a lock/mutex while it's still
in use (locked). Either there's a bug in your element somewhere where
you forget to unlock, or you need to shut down any threads that might be
using that pad first.

Cheers
 -Tim


-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list