Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
53fbcade
Commit
53fbcade
authored
Jul 21, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PulseAudio: set correct language
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
1432486e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/pulse/mainloop.c
src/pulse/mainloop.c
+5
-2
No files found.
src/pulse/mainloop.c
View file @
53fbcade
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
#include <vlc_pulse.h>
#include <vlc_pulse.h>
#include <assert.h>
#include <assert.h>
#include <stdlib.h>
#include <stdlib.h>
#include <locale.h>
#include <unistd.h>
#include <unistd.h>
#include <pwd.h>
#include <pwd.h>
...
@@ -188,8 +189,10 @@ pa_context *vlc_pa_connect (vlc_object_t *obj)
...
@@ -188,8 +189,10 @@ pa_context *vlc_pa_connect (vlc_object_t *obj)
pa_proplist_sets
(
props
,
PA_PROP_APPLICATION_ID
,
"org.VideoLAN.VLC"
);
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_VERSION
,
PACKAGE_VERSION
);
pa_proplist_sets
(
props
,
PA_PROP_APPLICATION_ICON_NAME
,
PACKAGE_NAME
);
pa_proplist_sets
(
props
,
PA_PROP_APPLICATION_ICON_NAME
,
PACKAGE_NAME
);
// FIXME:?
//pa_proplist_sets (props, PA_PROP_APPLICATION_LANGUAGE, _("C"));
pa_proplist_sets
(
props
,
PA_PROP_APPLICATION_LANGUAGE
,
_
(
"C"
));
pa_proplist_sets
(
props
,
PA_PROP_APPLICATION_LANGUAGE
,
setlocale
(
LC_MESSAGES
,
NULL
));
pa_proplist_setf
(
props
,
PA_PROP_APPLICATION_PROCESS_ID
,
"%lu"
,
pa_proplist_setf
(
props
,
PA_PROP_APPLICATION_PROCESS_ID
,
"%lu"
,
(
unsigned
long
)
getpid
());
(
unsigned
long
)
getpid
());
//pa_proplist_sets (props, PA_PROP_APPLICATION_PROCESS_BINARY,
//pa_proplist_sets (props, PA_PROP_APPLICATION_PROCESS_BINARY,
...
...
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