projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33f412d
)
audiomixer: Clear GstAudioInfo the the caps
author
Olivier CrĂȘte
<olivier.crete@collabora.com>
Wed, 21 Jan 2015 23:47:40 +0000
(18:47 -0500)
committer
Thibault Saunier
<tsaunier@gnome.org>
Thu, 29 Jan 2015 09:24:18 +0000
(10:24 +0100)
When clearing the caps, also clear the matching GstAudioInfo
https://bugzilla.gnome.org/show_bug.cgi?id=742684
gst/audiomixer/gstaudiomixer.c
patch
|
blob
|
history
diff --git
a/gst/audiomixer/gstaudiomixer.c
b/gst/audiomixer/gstaudiomixer.c
index
44ec155
..
179c186
100644
(file)
--- a/
gst/audiomixer/gstaudiomixer.c
+++ b/
gst/audiomixer/gstaudiomixer.c
@@
-724,6
+724,7
@@
gst_audiomixer_reset (GstAudioMixer * audiomixer)
audiomixer->offset = 0;
agg->segment.position = -1;
+ gst_audio_info_init (&audiomixer->info);
gst_caps_replace (&audiomixer->current_caps, NULL);
gst_buffer_replace (&audiomixer->current_buffer, NULL);
}