- validate(): the settings-changed check was dead code after an early
return; it now runs first and reloads the module when the module_eve
row changes (e.g. from the Mojo_Web module settings).
- stopService() returned false with EVE_WORK_WITH_MEDIAMTX (m_bDetached
was only set by the picture server), so a reload stopped the streams
and never restarted them.
- Logo: computed position and state live in m_bLogoActive / m_nLogoX /
m_nLogoY instead of overwriting m_sEmbedVideoData (that made the struct
differ from the DB row and caused endless reloads). Logos without an
alpha channel no longer crash (whole picture drawn); ROI is checked.
- Time stamp: negative ts_x / ts_y are measured from the right / bottom
edge like label and logo; background box fits the text instead of the
fixed (490,60) corner.
- Font face and line type from the DB are sanitised before cv::putText
(an unsupported line type throws).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0139veDo3XyavMuVhdnHcN16