Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
c330ec82
Commit
c330ec82
authored
May 13, 2009
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbus: add iso639_2T language code
parent
ad19397d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
modules/control/dbus.c
modules/control/dbus.c
+23
-0
No files found.
modules/control/dbus.c
View file @
c330ec82
...
@@ -2299,6 +2299,29 @@ static int GetInputEsMeta( input_item_t * p_item, int32_t i_es,
...
@@ -2299,6 +2299,29 @@ static int GetInputEsMeta( input_item_t * p_item, int32_t i_es,
dbus_message_iter_close_container
(
&
dict
,
&
dict_entry
);
dbus_message_iter_close_container
(
&
dict
,
&
dict_entry
);
free
(
psz_code
);
free
(
psz_code
);
/* */
psz_code
=
strdup
(
"iso639_2T"
);
psz_variant
=
NULL
;
dbus_message_iter_open_container
(
&
dict
,
DBUS_TYPE_DICT_ENTRY
,
NULL
,
&
dict_entry
);
dbus_message_iter_append_basic
(
&
dict_entry
,
DBUS_TYPE_STRING
,
&
psz_code
);
if
(
asprintf
(
&
psz_variant
,
"%s"
,
code
->
psz_iso639_2T
)
!=
-
1
)
{
dbus_message_iter_open_container
(
&
dict_entry
,
DBUS_TYPE_VARIANT
,
DBUS_TYPE_STRING_AS_STRING
,
&
variant
);
dbus_message_iter_append_basic
(
&
variant
,
DBUS_TYPE_STRING
,
&
psz_variant
);
dbus_message_iter_close_container
(
&
dict_entry
,
&
variant
);
free
(
psz_variant
);
}
dbus_message_iter_close_container
(
&
dict
,
&
dict_entry
);
free
(
psz_code
);
}
}
}
}
}
}
...
...
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