Skip to content
Snippets Groups Projects
Commit b1bdb72f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

dbus: improve reasons string (fixes #26219)

parent c73d61a5
No related branches found
No related tags found
No related merge requests found
Pipeline #154870 passed with stages
in 30 minutes and 23 seconds
......@@ -126,8 +126,9 @@ static void Inhibit(vlc_inhibit_t *ih, unsigned flags)
if (flags)
{
const char *app = PACKAGE;
const char *reason = _("Playing some media.");
const char *reason = (flags & VLC_INHIBIT_VIDEO) ? N_("Playing video")
: N_("Playing audio");
reason = vlc_gettext(reason);
assert(sys->cookie == 0);
switch (type)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment