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
bb1fb263
Commit
bb1fb263
authored
May 21, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VLM: use american numbers too here
(we don't want sample scripts to break in certain countries)
parent
6d85ab85
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/input/vlmshell.c
src/input/vlmshell.c
+3
-3
No files found.
src/input/vlmshell.c
View file @
bb1fb263
...
@@ -438,7 +438,7 @@ static int ExecuteControl( vlm_t *p_vlm, const char *psz_name, const int i_arg,
...
@@ -438,7 +438,7 @@ static int ExecuteControl( vlm_t *p_vlm, const char *psz_name, const int i_arg,
else
else
{
{
/* Percent */
/* Percent */
double
d_new_position
=
i18n
_atof
(
psz_argument
)
/
100
.
0
;
double
d_new_position
=
us
_atof
(
psz_argument
)
/
100
.
0
;
if
(
b_relative
)
if
(
b_relative
)
{
{
...
@@ -463,7 +463,7 @@ static int ExecuteControl( vlm_t *p_vlm, const char *psz_name, const int i_arg,
...
@@ -463,7 +463,7 @@ static int ExecuteControl( vlm_t *p_vlm, const char *psz_name, const int i_arg,
{
{
if
(
psz_argument
)
if
(
psz_argument
)
{
{
const
double
d_scale
=
i18n
_atof
(
psz_argument
);
const
double
d_scale
=
us
_atof
(
psz_argument
);
double
d_position
;
double
d_position
;
vlm_ControlInternal
(
p_vlm
,
VLM_GET_MEDIA_INSTANCE_POSITION
,
p_media
->
cfg
.
id
,
psz_instance
,
&
d_position
);
vlm_ControlInternal
(
p_vlm
,
VLM_GET_MEDIA_INSTANCE_POSITION
,
p_media
->
cfg
.
id
,
psz_instance
,
&
d_position
);
...
@@ -481,7 +481,7 @@ static int ExecuteControl( vlm_t *p_vlm, const char *psz_name, const int i_arg,
...
@@ -481,7 +481,7 @@ static int ExecuteControl( vlm_t *p_vlm, const char *psz_name, const int i_arg,
{
{
if
(
psz_argument
)
if
(
psz_argument
)
{
{
const
double
d_scale
=
i18n
_atof
(
psz_argument
);
const
double
d_scale
=
us
_atof
(
psz_argument
);
double
d_position
;
double
d_position
;
vlm_ControlInternal
(
p_vlm
,
VLM_GET_MEDIA_INSTANCE_POSITION
,
p_media
->
cfg
.
id
,
psz_instance
,
&
d_position
);
vlm_ControlInternal
(
p_vlm
,
VLM_GET_MEDIA_INSTANCE_POSITION
,
p_media
->
cfg
.
id
,
psz_instance
,
&
d_position
);
...
...
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