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
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
#include "engine_priv.h"
|
||||
#include "device/device.h"
|
||||
#include "mm/media.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@@ -37,6 +38,7 @@ diag::Facts Engine::hardware_facts(bool serving) const {
|
||||
if (r->device == id.device) mine.push_back(id.bdf);
|
||||
diag::Facts f = diag::collect("", serving ? &mine : nullptr);
|
||||
f.host.runtime = runtime_version_;
|
||||
f.host.media = mm::decoder_version();
|
||||
if (probed_) {
|
||||
f.host.memlock_soft = memlock_soft_;
|
||||
f.host.io_uring = io_uring_;
|
||||
|
||||
Reference in new issue
Block a user