From 9ec4db8bbc04258be45a8bac43d5f17a6e02cb8b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 1 Feb 2012 16:20:26 +0100 Subject: [PATCH] lame: Use new audio encoder/decoder base class API for srcpad caps --- ext/lame/gstlamemp3enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/lame/gstlamemp3enc.c b/ext/lame/gstlamemp3enc.c index 1c03cab..9b2737d 100644 --- a/ext/lame/gstlamemp3enc.c +++ b/ext/lame/gstlamemp3enc.c @@ -363,7 +363,7 @@ gst_lamemp3enc_set_format (GstAudioEncoder * enc, GstAudioInfo * info) "rate", G_TYPE_INT, out_samplerate, NULL); /* and use these caps */ - gst_pad_set_caps (GST_AUDIO_ENCODER_SRC_PAD (enc), othercaps); + gst_audio_encoder_set_output_format (GST_AUDIO_ENCODER (enc), othercaps); gst_caps_unref (othercaps); /* base class feedback: -- 2.7.4