Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
428
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
b1bdb72f
Commit
b1bdb72f
authored
3 years ago
by
Rémi Denis-Courmont
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/misc/inhibit/dbus.c
+3
-2
3 additions, 2 deletions
modules/misc/inhibit/dbus.c
with
3 additions
and
2 deletions
modules/misc/inhibit/dbus.c
+
3
−
2
View file @
b1bdb72f
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment