summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2012-02-01 16:20:46 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-02-01 16:27:49 +0100
commit2af62366da28a97b3f5c1bc80d9c4e7cbfc94973 (patch)
tree1c8e0eddc1d2a0ce4ae0d663f40a4739c60c2158
parentba521ebba003c2324802b50ce00f4a448362f952 (diff)
twolame: Use new audio encoder/decoder base class API for srcpad caps
-rw-r--r--ext/twolame/gsttwolamemp2enc.c2
1 files changed, 1 insertions, 1 deletions
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: