Commit Graph

4 Commits

Author SHA1 Message Date
trav90 9d1938950d Don't rely on library name to determine version of libavcodec
Also use portable way to dynamically open libraries.
2018-07-25 06:22:35 +08:00
trav90 0f0d8c765b Have FFMpegDecoderModule properly return if a codec is supported
Our current PlatformDecoderModule::SupportsMimeType implementations only check for support by performing a lookup on the mimetype as a strink and always assume that the underlying decoder is usable and is working.

This is an invalid assumption; especially with the FFMpeg decoder that may not be compiled with some particular codec support (like if it was compiled with --disable-nonfree).
2018-07-25 06:21:06 +08:00
trav90 f5157f3254 Add method to determine which version of libavcodec is available 2018-07-25 01:31:38 +08:00
trav90 538539f5c3 Move PlatformDecoderModule outside fmp4 2018-07-25 01:29:11 +08:00