gst/playback/gstdecodebin.c: Make the window for a race in typefind and shutting...
authorWim Taymans <wim.taymans@gmail.com>
Tue, 16 Oct 2007 16:48:38 +0000 (16:48 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Tue, 16 Oct 2007 16:48:38 +0000 (16:48 +0000)
commitd33d2be0ed160ffe7bf369b85e924c0adf8d5bc6
treecc56ac8d2a1ef62bd87bf1fd289b2be3db9e2279
parent6a20747e8362f9ad67bf5d604dc32a25a8c07861
gst/playback/gstdecodebin.c: Make the window for a race in typefind and shutting down smaller until we figure out the...

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (new_pad), (type_found):
Make the window for a race in typefind and shutting down smaller until
we figure out the right locking here. Avoids #485753 usually.
* gst/playback/gstdecodebin2.c: (type_found), (pad_added_group_cb):
Remove unneeded lock causing a race in typefind and shutting down.
Fixes #485753.
* gst/playback/gstplaybin.c: (gst_play_bin_change_state):
Also remove sinks when going to NULL because we might not complete the
state change to PAUSED, causing the PAUSED->READY state change not to
happen.
ChangeLog
gst/playback/gstdecodebin.c
gst/playback/gstdecodebin2.c
gst/playback/gstplaybin.c