On Mon, Feb 28, 2022 at 2:46 AM Ian McInerney via devel
<devel@lists.fedoraproject.org> wrote:

> 1) How are these removed codecs handled in the library? Can we link an 
> upstream application against FFMPEG in Fedora now and have it gracefully fail 
> when it tries to access a non-free codec that was removed, or does the 
> removal of these codecs create a different API that upstream applications 
> would have to code around? e.g. does it mean they have to add conditional 
> compilation for the specific codecs they need to use from FFMPEG instead of 
> just around FFMPEG itself?

If an app uses the approved API, it will request the library
to return the codec refs (avcodec_find_decoder_by_name
for example), and if the codec is not found the library should
report the failure.

Some apps may be using different approaches (for
various reasons some apps have sometimes chosen
to access internal functions directly), and may need
to change.

And, of course, if the app requires one of the IP
encumbered codecs that have been removed,
that app is not going to work with the Fedora
libraries.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to