On Mon Apr 3 02:06:54 2023 +0000, Ziqing Hui wrote:
It seems that we can't set a flag to stream in autoplug_continue_cb(), because stream is created in pad_added_cb(), we can not get the stream in autoplug_continue_cb() I think. And yeah, I do agree we should convert it to wg_format.
I try to convert caps to wg_format in autoplug_continue_cb(), then run wmvcore tests. However, Gst complains about: `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().