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
3b8941e5
Commit
3b8941e5
authored
Jan 24, 2005
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Rename a TIME_ABSOLUTE define because it's already defined in the Mach kernel headers.
parent
4f27da13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
modules/control/http.c
modules/control/http.c
+11
-11
No files found.
modules/control/http.c
View file @
3b8941e5
...
...
@@ -1662,9 +1662,9 @@ static void MacroDo( httpd_file_sys_t *p_args,
#define POSITION_ABSOLUTE 12
#define POSITION_REL_FOR 13
#define POSITION_REL_BACK 11
#define TIME_ABSOLUTE 0
#define TIME_REL_FOR 1
#define TIME_REL_BACK -1
#define
VL_
TIME_ABSOLUTE 0
#define
VL_
TIME_REL_FOR 1
#define
VL_
TIME_REL_BACK -1
if
(
p_sys
->
p_input
)
{
uri_extract_value
(
p_request
,
"seek_value"
,
value
,
20
);
...
...
@@ -1679,13 +1679,13 @@ static void MacroDo( httpd_file_sys_t *p_args,
{
case
'+'
:
{
i_relative
=
TIME_REL_FOR
;
i_relative
=
VL_
TIME_REL_FOR
;
p_value
++
;
break
;
}
case
'-'
:
{
i_relative
=
TIME_REL_BACK
;
i_relative
=
VL_
TIME_REL_BACK
;
p_value
++
;
break
;
}
...
...
@@ -1755,7 +1755,7 @@ static void MacroDo( httpd_file_sys_t *p_args,
switch
(
i_relative
)
{
case
TIME_ABSOLUTE
:
case
VL_
TIME_ABSOLUTE
:
{
if
(
(
uint64_t
)(
i_value
)
*
1000000
<=
i_length
)
val
.
i_time
=
(
uint64_t
)(
i_value
)
*
1000000
;
...
...
@@ -1766,7 +1766,7 @@ static void MacroDo( httpd_file_sys_t *p_args,
msg_Dbg
(
p_intf
,
"requested seek position: %dsec"
,
i_value
);
break
;
}
case
TIME_REL_FOR
:
case
VL_
TIME_REL_FOR
:
{
var_Get
(
p_sys
->
p_input
,
"time"
,
&
val
);
if
(
(
uint64_t
)(
i_value
)
*
1000000
+
val
.
i_time
<=
i_length
)
...
...
@@ -1780,7 +1780,7 @@ static void MacroDo( httpd_file_sys_t *p_args,
msg_Dbg
(
p_intf
,
"requested seek position forward: %dsec"
,
i_value
);
break
;
}
case
TIME_REL_BACK
:
case
VL_
TIME_REL_BACK
:
{
var_Get
(
p_sys
->
p_input
,
"time"
,
&
val
);
if
(
(
int64_t
)(
i_value
)
*
1000000
>
val
.
i_time
)
...
...
@@ -1827,9 +1827,9 @@ static void MacroDo( httpd_file_sys_t *p_args,
#undef POSITION_ABSOLUTE
#undef POSITION_REL_FOR
#undef POSITION_REL_BACK
#undef TIME_ABSOLUTE
#undef TIME_REL_FOR
#undef TIME_REL_BACK
#undef
VL_
TIME_ABSOLUTE
#undef
VL_
TIME_REL_FOR
#undef
VL_
TIME_REL_BACK
break
;
}
case
MVLC_VOLUME
:
...
...
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