mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
Correctly remember number of channels and samplerate
This commit is contained in:
parent
efac01d096
commit
99e287b86b
1 changed files with 2 additions and 0 deletions
|
@ -465,6 +465,8 @@ gst_amc_audio_dec_set_src_caps (GstAmcAudioDec * self, GstAmcFormat * format)
|
|||
gst_audio_set_channel_positions (gst_caps_get_structure (caps, 0),
|
||||
self->positions);
|
||||
|
||||
self->channels = channels;
|
||||
self->rate = rate;
|
||||
gst_pad_set_caps (GST_AUDIO_DECODER_SRC_PAD (self), caps);
|
||||
gst_caps_unref (caps);
|
||||
|
||||
|
|
Loading…
Reference in a new issue