Skip to content

audio-info: Allow from_caps() with encoded audio format

Similar to gst_video_info_from_caps() which allows encoded video format, don't error gst_audio_info_from_caps() with encoded audio format. Because gst_audio_info_set_format() supports encoded format, current behavior does not seem to be consistent.

Merge request reports

Loading