diff --git a/ext/vorbis/gstvorbisenc.c b/ext/vorbis/gstvorbisenc.c index 5026527f00..818a010e59 100644 --- a/ext/vorbis/gstvorbisenc.c +++ b/ext/vorbis/gstvorbisenc.c @@ -183,6 +183,8 @@ gst_vorbis_enc_init (GstVorbisEnc * vorbisenc) { GstAudioEncoder *enc = GST_AUDIO_ENCODER (vorbisenc); + GST_PAD_SET_ACCEPT_TEMPLATE (GST_AUDIO_ENCODER_SINK_PAD (enc)); + vorbisenc->channels = -1; vorbisenc->frequency = -1;