| 660 | } |
| 661 | |
| 662 | static void |
| 663 | ffmpeg_uri_decode(DecoderClient &client, const char *uri) |
| 664 | { |
| 665 | auto format_context = |
| 666 | FfmpegOpenInput(nullptr, uri, nullptr); |
| 667 | |
| 668 | const auto *input_format = format_context->iformat; |
| 669 | if (input_format->long_name == nullptr) |
| 670 | FmtDebug(ffmpeg_domain, "detected input format {:?}", |
| 671 | input_format->name); |
| 672 | else |
| 673 | FmtDebug(ffmpeg_domain, "detected input format {:?} ({:?})", |
| 674 | input_format->name, input_format->long_name); |
| 675 | |
| 676 | FfmpegDecode(client, nullptr, *format_context); |
| 677 | } |
| 678 | |
| 679 | static std::set<std::string, std::less<>> |
| 680 | ffmpeg_protocols() noexcept |
nothing calls this directly
no test coverage detected