mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
omxaacenc: let encoder know about incoming rate/channels
https://bugzilla.gnome.org/show_bug.cgi?id=777223
This commit is contained in:
parent
ed5f63c9ef
commit
4e01a6f7b1
1 changed files with 3 additions and 0 deletions
|
@ -293,6 +293,9 @@ gst_omx_aac_enc_set_format (GstOMXAudioEnc * enc, GstOMXPort * port,
|
|||
}
|
||||
|
||||
gst_caps_unref (peercaps);
|
||||
|
||||
aac_profile.nSampleRate = info->rate;
|
||||
aac_profile.nChannels = info->channels;
|
||||
}
|
||||
|
||||
aac_profile.nAACtools = self->aac_tools;
|
||||
|
|
Loading…
Reference in a new issue