summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/amrnb/amrnbenc.c1
-rw-r--r--ext/lame/gstlamemp3enc.c1
-rw-r--r--ext/twolame/gsttwolamemp2enc.c2
3 files changed, 4 insertions, 0 deletions
diff --git a/ext/amrnb/amrnbenc.c b/ext/amrnb/amrnbenc.c
index 0b5d755f..207b5dd6 100644
--- a/ext/amrnb/amrnbenc.c
+++ b/ext/amrnb/amrnbenc.c
@@ -171,6 +171,7 @@ gst_amrnbenc_class_init (GstAmrnbEncClass * klass)
static void
gst_amrnbenc_init (GstAmrnbEnc * amrnbenc)
{
+ GST_PAD_SET_ACCEPT_TEMPLATE (GST_AUDIO_ENCODER_SINK_PAD (amrnbenc));
}
static gboolean
diff --git a/ext/lame/gstlamemp3enc.c b/ext/lame/gstlamemp3enc.c
index 7ed53b34..43b63ff2 100644
--- a/ext/lame/gstlamemp3enc.c
+++ b/ext/lame/gstlamemp3enc.c
@@ -281,6 +281,7 @@ gst_lamemp3enc_class_init (GstLameMP3EncClass * klass)
static void
gst_lamemp3enc_init (GstLameMP3Enc * lame)
{
+ GST_PAD_SET_ACCEPT_TEMPLATE (GST_AUDIO_ENCODER_SINK_PAD (lame));
}
static gboolean
diff --git a/ext/twolame/gsttwolamemp2enc.c b/ext/twolame/gsttwolamemp2enc.c
index 85438769..a5e1b55e 100644
--- a/ext/twolame/gsttwolamemp2enc.c
+++ b/ext/twolame/gsttwolamemp2enc.c
@@ -418,6 +418,8 @@ gst_two_lame_init (GstTwoLame * twolame)
{
GST_DEBUG_OBJECT (twolame, "starting initialization");
+ GST_PAD_SET_ACCEPT_TEMPLATE (GST_AUDIO_ENCODER_SINK_PAD (twolame));
+
twolame->mode = gst_two_lame_default_settings.mode;
twolame->psymodel = gst_two_lame_default_settings.psymodel;
twolame->bitrate = gst_two_lame_default_settings.bitrate;