summaryrefslogtreecommitdiff
path: root/ext/voamrwbenc/gstvoamrwbenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/voamrwbenc/gstvoamrwbenc.c')
-rw-r--r--ext/voamrwbenc/gstvoamrwbenc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/voamrwbenc/gstvoamrwbenc.c b/ext/voamrwbenc/gstvoamrwbenc.c
index 305f8458e..ae09f0615 100644
--- a/ext/voamrwbenc/gstvoamrwbenc.c
+++ b/ext/voamrwbenc/gstvoamrwbenc.c
@@ -190,6 +190,8 @@ gst_voamrwbenc_class_init (GstVoAmrWbEncClass * klass)
static void
gst_voamrwbenc_init (GstVoAmrWbEnc * amrwbenc)
{
+ GST_PAD_SET_ACCEPT_TEMPLATE (GST_AUDIO_ENCODER_SINK_PAD (amrwbenc));
+
/* init rest */
amrwbenc->handle = NULL;
amrwbenc->channels = 0;