Small additional message

Original commit message from CVS:
Small additional message
This commit is contained in:
Wim Taymans 2001-12-21 12:50:56 +00:00
parent 3dec0a8035
commit 9416183ac6

View file

@ -213,7 +213,7 @@ gst_vorbisenc_chain (GstPad * pad, GstBuffer * buf)
vorbisenc = GST_VORBISENC (gst_pad_get_parent (pad)); vorbisenc = GST_VORBISENC (gst_pad_get_parent (pad));
if (!vorbisenc->setup) { if (!vorbisenc->setup) {
gst_element_error (GST_ELEMENT (vorbisenc), "encoder not initialized"); gst_element_error (GST_ELEMENT (vorbisenc), "encoder not initialized (input is not audio?)");
if (GST_IS_BUFFER (buf)) if (GST_IS_BUFFER (buf))
gst_buffer_unref (buf); gst_buffer_unref (buf);
else else