On Mon Apr 3 03:45:50 2023 +0000, Ziqing Hui wrote:
I try to convert caps to wg_format in autoplug_continue_cb(), then run wmvcore tests. However, Gst complains: `ERROR audio-info audio-info.c:302:gst_audio_info_from_caps: no rate property given` I think the caps given in autoplug_continue_cb() is not complete, we cannot convert it to wg_format (without changing the existing wg_format_from_caps). So we should test the caps name in autoplug_continue_cb().
I found that `gst_audio_info_from_caps error` also happens in pad_added_cb(). The caps from the pad given in pad_added_cb() is also missing rate property.