diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-11-16 12:40:58 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-11-16 12:42:24 +0100 |
commit | 37e081fc61a779ab89b5d18b96e03d32dcc62947 (patch) | |
tree | c638d690d2d2b2f13d3757db3500ec2c1ba55f51 /gst/audiovisualizers | |
parent | c5c67c191318c43374cb6def88663b3f822087df (diff) | |
download | gstreamer-plugins-bad-37e081fc61a779ab89b5d18b96e03d32dcc62947.tar.gz |
update for renamed flags
Use the _check_reconfigure method instead of checking flags.
Diffstat (limited to 'gst/audiovisualizers')
-rw-r--r-- | gst/audiovisualizers/gstbaseaudiovisualizer.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gst/audiovisualizers/gstbaseaudiovisualizer.c b/gst/audiovisualizers/gstbaseaudiovisualizer.c index b45e2feb5..0e8496379 100644 --- a/gst/audiovisualizers/gstbaseaudiovisualizer.c +++ b/gst/audiovisualizers/gstbaseaudiovisualizer.c @@ -772,10 +772,7 @@ gst_base_audio_visualizer_ensure_negotiated (GstBaseAudioVisualizer * scope) { gboolean reconfigure; - GST_OBJECT_LOCK (scope->srcpad); - reconfigure = GST_PAD_NEEDS_RECONFIGURE (scope->srcpad); - GST_OBJECT_FLAG_UNSET (scope->srcpad, GST_PAD_NEED_RECONFIGURE); - GST_OBJECT_UNLOCK (scope->srcpad); + reconfigure = gst_pad_check_reconfigure (scope->srcpad); /* we don't know an output format yet, pick one */ if (reconfigure || !gst_pad_has_current_caps (scope->srcpad)) { |