projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09c4cc5
)
wavparse: Don't set caps to NULL after setting them on the srcpad
author
Sebastian Dröge
<sebastian@centricular.com>
Thu, 3 Nov 2016 10:34:51 +0000
(12:34 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Thu, 3 Nov 2016 10:34:51 +0000
(12:34 +0200)
We would like to check later on EOS if we found a known stream type or
not, to possibly post an error message.
https://bugzilla.gnome.org/show_bug.cgi?id=773861
gst/wavparse/gstwavparse.c
patch
|
blob
|
history
diff --git
a/gst/wavparse/gstwavparse.c
b/gst/wavparse/gstwavparse.c
index
49bc03c
..
9ee11fc
100644
(file)
--- a/
gst/wavparse/gstwavparse.c
+++ b/
gst/wavparse/gstwavparse.c
@@
-1914,7
+1914,6
@@
gst_wavparse_add_src_pad (GstWavParse * wav, GstBuffer * buf)
}
gst_pad_set_caps (wav->srcpad, wav->caps);
- gst_caps_replace (&wav->caps, NULL);
if (wav->start_segment) {
GST_DEBUG_OBJECT (wav, "Send start segment event on newpad");