On 12/1/20 4:27 PM, Zebediah Figura (she/her) wrote:
Note that a simpler way to set the channel mask is to use gst_audio_info_to_caps() in caps_from_mf_media_type().
Mind if I just move this functionality to caps_from_mf_media_type? I remember having problems with gst_audio_info_to_caps.
I don't think that makes very much sense in general, no. What problems did you have with gst_audio_info_to_caps()?
I don't remember unfortunately. I'll give it another shot and report back, although I'm starting to have doubts about whether or not we want channel-mask to be set when MF_MT_CHANNEL_MASK isn't.