• Tim-Philipp Müller's avatar
    gst/playback/gstplaybasebin.*: Protect list of elements with a... · f1318291
    Tim-Philipp Müller authored
    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.
    f1318291
gstplaybasebin.c 62.9 KB