mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
update for renamed flags
Use the _check_reconfigure method instead of checking flags.
This commit is contained in:
parent
c5c67c1913
commit
37e081fc61
1 changed files with 1 additions and 4 deletions
|
@ -772,10 +772,7 @@ gst_base_audio_visualizer_ensure_negotiated (GstBaseAudioVisualizer * scope)
|
||||||
{
|
{
|
||||||
gboolean reconfigure;
|
gboolean reconfigure;
|
||||||
|
|
||||||
GST_OBJECT_LOCK (scope->srcpad);
|
reconfigure = gst_pad_check_reconfigure (scope->srcpad);
|
||||||
reconfigure = GST_PAD_NEEDS_RECONFIGURE (scope->srcpad);
|
|
||||||
GST_OBJECT_FLAG_UNSET (scope->srcpad, GST_PAD_NEED_RECONFIGURE);
|
|
||||||
GST_OBJECT_UNLOCK (scope->srcpad);
|
|
||||||
|
|
||||||
/* we don't know an output format yet, pick one */
|
/* we don't know an output format yet, pick one */
|
||||||
if (reconfigure || !gst_pad_has_current_caps (scope->srcpad)) {
|
if (reconfigure || !gst_pad_has_current_caps (scope->srcpad)) {
|
||||||
|
|
Loading…
Reference in a new issue