End of Streaming Thread in Gstreamer
Olivier Crête
olivier.crete at collabora.com
Wed Aug 6 07:28:54 PDT 2014
Hi,
On 08/06/2014 05:18 AM, Manoj89 wrote:
> (i) In my bus_watch I have included GST_MESSAGE_STREAM_STATUS to monitor
> the status of streaming
> thread.I get
> GST_STREAM_STATUS_TYPE_CREATE,GST_STREAM_STATUS_TYPE_ENTER at the start of
> playback but I do not get GST_STREAM_STATUS_TYPE_LEAVE after the end
> of playback when I want to
> do playback of another file.
This means the thread has not exited.
> (ii) Actually I am getting the crash with gdb stack corrupted when i do
> (i).My question in my case if I dont
> get message on the bus GST_STREAM_STATUS_TYPE_LEAVE does that mean
> streaming thread has not
> exited loop properly and does not get destroyed?whether this may be
> reason for my crash.
This sounds like memory corruption of some kind, and it possibly means
the thread is still running? "thread apply all bt" is your friend.
--
Olivier Crête
olivier.crete at collabora.com
More information about the gstreamer-devel
mailing list