mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
wavparse: Don't set caps to NULL after setting them on the srcpad
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
This commit is contained in:
parent
09c4cc55f2
commit
aecc31ab7b
1 changed files with 0 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue