diff options
author | Jan Schmidt <thaytan@mad.scientist.com> | 2009-01-07 20:38:50 +0000 |
---|---|---|
committer | Jan Schmidt <thaytan@mad.scientist.com> | 2009-01-07 20:38:50 +0000 |
commit | 3e380b488da3dc16ab874de1b7831cdc3033657d (patch) | |
tree | c774b209a5afafdc1d6065d2d619661964cdd22b /ext/pulse/pulsesink.h | |
parent | 90e9d8e0e194a472a9b93c80de0547e5ac075df8 (diff) |
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.
Diffstat (limited to 'ext/pulse/pulsesink.h')
-rw-r--r-- | ext/pulse/pulsesink.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pulse/pulsesink.h b/ext/pulse/pulsesink.h index d9c46990..e734a8c1 100644 --- a/ext/pulse/pulsesink.h +++ b/ext/pulse/pulsesink.h @@ -57,6 +57,7 @@ struct _GstPulseSink pa_context *context; pa_stream *stream; + GMutex *stream_mutex; pa_sample_spec sample_spec; |