summaryrefslogtreecommitdiff
path: root/gst/adpcmenc/adpcmenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/adpcmenc/adpcmenc.c')
-rw-r--r--gst/adpcmenc/adpcmenc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/adpcmenc/adpcmenc.c b/gst/adpcmenc/adpcmenc.c
index 36d336c90..def90cf85 100644
--- a/gst/adpcmenc/adpcmenc.c
+++ b/gst/adpcmenc/adpcmenc.c
@@ -421,6 +421,8 @@ adpcmenc_stop (GstAudioEncoder * enc)
static void
adpcmenc_init (ADPCMEnc * enc)
{
+ GST_PAD_SET_ACCEPT_TEMPLATE (GST_AUDIO_ENCODER_SINK_PAD (enc));
+
/* Set defaults. */
enc->blocksize = DEFAULT_ADPCM_BLOCK_SIZE;
enc->layout = DEFAULT_ADPCM_LAYOUT;