From 3cbd39e022c47cabd8dca1657ea79759bc6b4615 Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Mon, 21 Nov 2005 18:09:02 +0000 Subject: Update for stream lock API changes: don't take stream log in sink event handlers any longer and change GST_STREAM_LOC... Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_handle_sink_event): * ext/flac/gstflacdec.c: (gst_flacdec_loop), (gst_flacdec_src_event): * ext/flac/gstflacenc.c: (gst_flacenc_sink_event): * ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_event), (gst_signal_processor_getrange), (gst_signal_processor_chain): * gst/avi/gstavidemux.c: (gst_avi_demux_handle_seek): * gst/flx/gstflxdec.c: (gst_flxdec_src_event_handler), (gst_flxdec_sink_event_handler): * gst/matroska/matroska-demux.c: (gst_matroska_demux_handle_seek_event): * gst/wavparse/gstwavparse.c: (gst_wavparse_handle_seek): Update for stream lock API changes: don't take stream log in sink event handlers any longer and change GST_STREAM_LOCK to GST_PAD_STREAM_LOCK. Don't leak references in flxdec event functions. --- gst/wavparse/gstwavparse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gst/wavparse/gstwavparse.c') diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c index 59835d0b..8978e1de 100644 --- a/gst/wavparse/gstwavparse.c +++ b/gst/wavparse/gstwavparse.c @@ -718,7 +718,7 @@ gst_wavparse_handle_seek (GstWavParse * wav, gboolean update) else gst_pad_pause_task (wav->sinkpad); - GST_STREAM_LOCK (wav->sinkpad); + GST_PAD_STREAM_LOCK (wav->sinkpad); if (update) { wav->offset = wav->segment_start + wav->datastart; @@ -749,7 +749,7 @@ gst_wavparse_handle_seek (GstWavParse * wav, gboolean update) gst_pad_start_task (wav->sinkpad, (GstTaskFunction) gst_wavparse_loop, wav->sinkpad); - GST_STREAM_UNLOCK (wav->sinkpad); + GST_PAD_STREAM_UNLOCK (wav->sinkpad); return TRUE; -- cgit