gst/playback/gstdecodebin2.c: Protect caps property with the object lock.
authorWim Taymans <wim.taymans@gmail.com>
Mon, 24 Mar 2008 11:36:08 +0000 (11:36 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 24 Mar 2008 11:36:08 +0000 (11:36 +0000)
commit8eb84372bdd3857003e54d736f4a8111823a802d
tree548ba9803bcace3ff07b6aa9fbdcd9d1548b4a79
parent877a45b7915fb1d3c58347a6dc39e18f6647752f
gst/playback/gstdecodebin2.c: Protect caps property with the object lock.

Original commit message from CVS:
* gst/playback/gstdecodebin2.c: (gst_decode_bin_dispose),
(gst_decode_bin_set_caps), (gst_decode_bin_get_caps),
(gst_decode_bin_set_subs_encoding),
(gst_decode_bin_get_subs_encoding),
(gst_decode_bin_autoplug_factories), (connect_pad), (are_raw_caps),
(deactivate_free_recursive):
Protect caps property with the object lock.
Protect encoding property with the object lock.
Keep list of elements we added that have the subtitle-encoding property.
Distribute the subtitle-encoding to all of the elements when it
changes.
ChangeLog
gst/playback/gstdecodebin2.c