mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-16 13:26:36 +00:00
fdkaacdec: Add Converter class to hint gst-validate
fdkaacdec have minimal conversion capability, adding the Converter class allow gst-validate to behave properly and not spit an error when it notice that the number of channels or rate miss-match in and out. Same logic as with opusdec, see: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1142> Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2462>
This commit is contained in:
parent
b1dd20d57a
commit
a917648be3
2 changed files with 2 additions and 2 deletions
|
@ -13930,7 +13930,7 @@
|
|||
"interfaces": [
|
||||
"GstPreset"
|
||||
],
|
||||
"klass": "Codec/Encoder/Audio",
|
||||
"klass": "Codec/Encoder/Audio/Converter",
|
||||
"long-name": "FDK AAC audio encoder",
|
||||
"pad-templates": {
|
||||
"sink": {
|
||||
|
|
|
@ -580,7 +580,7 @@ gst_fdkaacenc_class_init (GstFdkAacEncClass * klass)
|
|||
gst_element_class_add_static_pad_template (element_class, &src_template);
|
||||
|
||||
gst_element_class_set_static_metadata (element_class, "FDK AAC audio encoder",
|
||||
"Codec/Encoder/Audio", "FDK AAC audio encoder",
|
||||
"Codec/Encoder/Audio/Converter", "FDK AAC audio encoder",
|
||||
"Sebastian Dröge <sebastian@centricular.com>");
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (gst_fdkaacenc_debug, "fdkaacenc", 0,
|
||||
|
|
Loading…
Reference in a new issue