Archived
diag: name the build's media capability; docs(GUIDE): the ffmpeg row
An AUTO probe that misses leaves one STATUS line in the configure log, and the engine boots green and 500s every media request; the startup report -- the part of a log to paste into an issue -- said nothing about the capability that decides it. mm::decoder_version() names it (the libavformat version, or "absent (built without libav*)"), reported on the startup report and /diagnostics (hardware.host.media), and GUIDE 1.1 lists the five -dev packages, the RAD_WITH_FFMPEG tri-state and the symptom.
This commit is contained in:
1 parent
0bb00a836d
commit
1720ed3f4a
6 files changed
+23
No files matched your search
@@ -89,6 +89,8 @@ std::string host_lines(const HostFacts& h, const RunFacts& r) {
|
||||
o += fmt(" runtime %s | backend %s\n",
|
||||
h.runtime.empty() ? "no device runtime" : h.runtime.c_str(),
|
||||
r.host_backend ? "host (CPU)" : "device");
|
||||
if (!h.media.empty())
|
||||
o += fmt(" media decoders %s\n", h.media.c_str());
|
||||
return o;
|
||||
}
|
||||
|
||||
@@ -224,6 +226,7 @@ std::string to_json(const std::vector<ConfigRow>& config, const std::vector<Deci
|
||||
host["cpu_epp"] = h.cpu_epp;
|
||||
host["cpu_driver"] = h.cpu_driver;
|
||||
host["runtime"] = h.runtime;
|
||||
host["media"] = h.media;
|
||||
J cards = J::array();
|
||||
for (const CardFacts& c : f.cards) {
|
||||
J e;
|
||||
|
||||
Reference in new issue
Block a user