From 3a70f716a0b8cf10ff5523d3a3137ec68affe2c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 1 Feb 2012 16:20:46 +0100 Subject: [PATCH] twolame: Use new audio encoder/decoder base class API for srcpad caps --- ext/twolame/gsttwolamemp2enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/twolame/gsttwolamemp2enc.c b/ext/twolame/gsttwolamemp2enc.c index c879edb802..2101c143db 100644 --- a/ext/twolame/gsttwolamemp2enc.c +++ b/ext/twolame/gsttwolamemp2enc.c @@ -386,7 +386,7 @@ gst_two_lame_set_format (GstAudioEncoder * enc, GstAudioInfo * info) G_TYPE_INT, out_samplerate, NULL); /* and use these caps */ - gst_pad_set_caps (GST_AUDIO_ENCODER_SRC_PAD (twolame), othercaps); + gst_audio_encoder_set_output_format (GST_AUDIO_ENCODER (twolame), othercaps); gst_caps_unref (othercaps); /* report needs to base class: