On Fri, 26 Jun 2020 17:47:32 +0300
Rémi Denis-Courmont <r...@remlab.net> wrote:

> 
> Is this really supposed to be done with string matching in
> libavcodec? That looks rather brittle to me.

It's a fair statement, but, surprisingly, we don't have a profile enum.
The profile calculator parses all the various contributing attributes
and ultimately maps them to these strings.

We would need to extend the profile descriptor to add an enum, which I
think is reasonable, but short of that, there isn't another way.

--phil
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to