summaryrefslogtreecommitdiff
path: root/ext/twolame
diff options
context:
space:
mode:
Diffstat (limited to 'ext/twolame')
-rw-r--r--ext/twolame/gsttwolamemp2enc.c2
1 files changed, 2 insertions, 0 deletions
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;