On Tue Apr 4 01:18:05 2023 +0000, Ziqing Hui wrote:
Yep, it's triggered by the WMV in wmvcore. The full caps of the audio is:
audio/x-raw format: F32LE layout: non-interleaved
The full caps of the video stream from the same WMV file is:
video/x-wmv wmvversion: 1 width: 64 height: 48 pixel-aspect-ratio: 1/1 format: WMV1
Both caps are printed in pad_added_cb().
Maybe we could implement our own wg_format_from_caps_audio() rather than using gst_audio_info_from_caps() directly? Like the other wg_format_from_caps_*() functions, we warn when find missing fileds instead of error.