audiomixer: Clear GstAudioInfo the the caps
When clearing the caps, also clear the matching GstAudioInfo https://bugzilla.gnome.org/show_bug.cgi?id=742684
This commit is contained in:
parent
33f412d6db
commit
9afd2b3339
@ -724,6 +724,7 @@ gst_audiomixer_reset (GstAudioMixer * audiomixer)
|
|||||||
audiomixer->offset = 0;
|
audiomixer->offset = 0;
|
||||||
agg->segment.position = -1;
|
agg->segment.position = -1;
|
||||||
|
|
||||||
|
gst_audio_info_init (&audiomixer->info);
|
||||||
gst_caps_replace (&audiomixer->current_caps, NULL);
|
gst_caps_replace (&audiomixer->current_caps, NULL);
|
||||||
gst_buffer_replace (&audiomixer->current_buffer, NULL);
|
gst_buffer_replace (&audiomixer->current_buffer, NULL);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user