mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-27 01:28:34 +00:00
lame: Use new audio encoder/decoder base class API for srcpad caps
This commit is contained in:
parent
944b47414d
commit
9ec4db8bbc
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ gst_lamemp3enc_set_format (GstAudioEncoder * enc, GstAudioInfo * info)
|
||||||
"rate", G_TYPE_INT, out_samplerate, NULL);
|
"rate", G_TYPE_INT, out_samplerate, NULL);
|
||||||
|
|
||||||
/* and use these caps */
|
/* 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);
|
gst_caps_unref (othercaps);
|
||||||
|
|
||||||
/* base class feedback:
|
/* base class feedback:
|
||||||
|
|
Loading…
Reference in a new issue