vorbisenc: Set caps on non-header ouput buffers.

Fixes #576142.
This commit is contained in:
René Stadler 2009-03-21 09:46:28 +01:00 committed by Sebastian Dröge
parent 153e07e125
commit 9f0e053f6e

View file

@ -902,6 +902,8 @@ gst_vorbis_enc_buffer_from_packet (GstVorbisEnc * vorbisenc,
vorbisenc->next_discont = FALSE;
}
gst_buffer_set_caps (outbuf, vorbisenc->srccaps);
GST_LOG_OBJECT (vorbisenc, "encoded buffer of %d bytes",
GST_BUFFER_SIZE (outbuf));
return outbuf;