Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
3bd1fcda
Commit
3bd1fcda
authored
Jun 16, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pulse: use libvlc-provisioned application infos (fixes #8706)
parent
07794538
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
4 deletions
+23
-4
modules/audio_output/vlcpulse.c
modules/audio_output/vlcpulse.c
+23
-4
No files found.
modules/audio_output/vlcpulse.c
View file @
3bd1fcda
...
...
@@ -104,10 +104,29 @@ pa_context *vlc_pa_connect (vlc_object_t *obj, pa_threaded_mainloop **mlp)
pa_proplist
*
props
=
pa_proplist_new
();
if
(
likely
(
props
!=
NULL
))
{
pa_proplist_sets
(
props
,
PA_PROP_APPLICATION_NAME
,
ua
);
pa_proplist_sets
(
props
,
PA_PROP_APPLICATION_ID
,
"org.VideoLAN.VLC"
);
pa_proplist_sets
(
props
,
PA_PROP_APPLICATION_VERSION
,
PACKAGE_VERSION
);
pa_proplist_sets
(
props
,
PA_PROP_APPLICATION_ICON_NAME
,
PACKAGE_NAME
);
char
*
str
;
if
(
ua
!=
NULL
)
pa_proplist_sets
(
props
,
PA_PROP_APPLICATION_NAME
,
ua
);
str
=
var_InheritString
(
obj
,
"app-id"
);
if
(
str
!=
NULL
)
{
pa_proplist_sets
(
props
,
PA_PROP_APPLICATION_ID
,
str
);
free
(
str
);
}
str
=
var_InheritString
(
obj
,
"app-version"
);
if
(
str
!=
NULL
)
{
pa_proplist_sets
(
props
,
PA_PROP_APPLICATION_VERSION
,
str
);
free
(
str
);
}
str
=
var_InheritString
(
obj
,
"app-icon-name"
);
if
(
str
!=
NULL
)
{
pa_proplist_sets
(
props
,
PA_PROP_APPLICATION_ICON_NAME
,
str
);
free
(
str
);
}
//pa_proplist_sets (props, PA_PROP_APPLICATION_LANGUAGE, _("C"));
pa_proplist_sets
(
props
,
PA_PROP_APPLICATION_LANGUAGE
,
setlocale
(
LC_MESSAGES
,
NULL
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment