amc: Log under GST_FIXME for audio encoders

We don't support audio encoders yet, so log that correctly.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9225>
This commit is contained in:
Nirbheek Chauhan 2025-06-17 03:32:24 +05:30 committed by GStreamer Marge Bot
parent 966d8ec279
commit fb04ef5be3

View File

@ -1773,8 +1773,14 @@ register_codecs (GstPlugin * plugin)
type = gst_amc_video_enc_get_type ();
else
type = gst_amc_video_dec_get_type ();
} else if (is_audio && !codec_info->is_encoder) {
type = gst_amc_audio_dec_get_type ();
} else if (is_audio) {
if (codec_info->is_encoder) {
GST_FIXME ("Skipping %s: audio encoders are not supported yet",
codec_info->name);
continue;
} else {
type = gst_amc_audio_dec_get_type ();
}
} else {
GST_INFO ("Skipping codec %s: unsupported type", codec_info->name);
continue;