ext/pulse/pulsesink.*: Use a mutex to protect the current stream pointer, and ignore...
authorJan Schmidt <thaytan@mad.scientist.com>
Wed, 7 Jan 2009 20:38:50 +0000 (20:38 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Wed, 7 Jan 2009 20:38:50 +0000 (20:38 +0000)
commit3e380b488da3dc16ab874de1b7831cdc3033657d
treec774b209a5afafdc1d6065d2d619661964cdd22b
parent90e9d8e0e194a472a9b93c80de0547e5ac075df8
ext/pulse/pulsesink.*: Use a mutex to protect the current stream pointer, and ignore callbacks for stream objects tha...

Original commit message from CVS:
* ext/pulse/pulsesink.c:
* ext/pulse/pulsesink.h:
Use a mutex to protect the current stream pointer, and ignore
callbacks for stream objects that have been destroyed already.
Fixes problems with unprepare/prepare cycles caused by the input
caps changing, without reintroducing bug #556986.
ChangeLog
ext/pulse/pulsesink.c
ext/pulse/pulsesink.h