mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
twolame: Use new audio encoder/decoder base class API for srcpad caps
This commit is contained in:
parent
ba521ebba0
commit
2af62366da
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue