gst/gstthread.c: Ref the thread object in the GThread mainloop. Break out of the...
authorWim Taymans <wim.taymans@gmail.com>
Thu, 25 Nov 2004 12:46:50 +0000 (12:46 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 25 Nov 2004 12:46:50 +0000 (12:46 +0000)
commit12a02117287b8572b2f147b2a8cab8ab913d6d8b
treeb74d8dda437128014b564dac581543e1efdd157b
parent6c376ecbf59732097844cafd53587b6d7db00e03
gst/gstthread.c: Ref the thread object in the GThread mainloop. Break out of the thread mainloop if it holds the last...

Original commit message from CVS:
* gst/gstthread.c: (gst_thread_dispose), (gst_thread_change_state),
(gst_thread_child_state_change), (gst_thread_main_loop):
Ref the thread object in the GThread mainloop. Break out of the
thread mainloop if it holds the last ref. This properly exits
the threads when disposing the thread from its own context. It
also avoids possible deadlocks in the dispose function.
ChangeLog
gst/gstthread.c