On 4/10/2018 4:49 AM, Michael Niedermayer wrote:

To implement generic "codec supported" checks, muxers would have to
list what they support.
There are 3 ways i know how this can be done in the current API
1. the audio_codec / video_codec / ... fields
2. the codec_tag array (this was in fact IIRC one of the intended uses of it)
3. the querry_format callback

These are raw single stream muxers - most only dump packets and _should_ accept exactly one codec_id. A couple may insert bitstream filters. Only one writes a trailer. So none of them have a codec_tag member or a query_codec callback. Personally, I agree that the current method is inelegant but these "muxers" are stable and these tests shouldn't need changes. But I can go the query_codec route if you advise it.

Regards,
Gyan
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to