gst/playback/gstplaybasebin.*: Protect list of elements with a subtitle-encoding...
authorTim-Philipp Müller <tim@centricular.net>
Thu, 6 Jul 2006 13:04:24 +0000 (13:04 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 6 Jul 2006 13:04:24 +0000 (13:04 +0000)
commitf1318291ed849c527d0dc2a8c8a9bd1f5fbd4aaf
tree9ec061033f7e80ec90a3ea92d757c10e9d304eea
parent8f89dbc65ee547716653f30f97e8b3f2af54619f
gst/playback/gstplaybasebin.*: Protect list of elements with a subtitle-encoding property and the subtitle encoding m...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_init),
(gst_play_base_bin_finalize), (decodebin_element_added_cb),
(decodebin_element_removed_cb), (gst_play_base_bin_set_property):
* gst/playback/gstplaybasebin.h:
Protect list of elements with a subtitle-encoding property and
the subtitle encoding member itself with a lock of their own
instead of using the object lock. This prevents a dead-lock in
the element-remove callback in some circumstances when shutting
down playbin.
ChangeLog
gst/playback/gstplaybasebin.c
gst/playback/gstplaybasebin.h