Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
minisapserver
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
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
minisapserver
Commits
97cf515a
Commit
97cf515a
authored
Jun 30, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix timer computation for real
parent
1f26fa60
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
miniSAPserver/trunk/NEWS
miniSAPserver/trunk/NEWS
+5
-0
miniSAPserver/trunk/sapserver.cpp
miniSAPserver/trunk/sapserver.cpp
+1
-1
No files found.
miniSAPserver/trunk/NEWS
View file @
97cf515a
-- Changes from version 0.3.4 to version 0.3.5
* Fix announce timer (again)
* Fix raw UDP media type
-- Changes from version 0.3.3 to version 0.3.4
* Fix announce timer
...
...
miniSAPserver/trunk/sapserver.cpp
View file @
97cf515a
...
...
@@ -240,7 +240,7 @@ int main(int argc, char *argv[])
}
unsigned
n
=
config
.
Programs
.
size
();
div_t
d
=
div
((
1000000000
/
n
)
*
config
.
GetDelay
()
,
1000000000
);
lldiv_t
d
=
lldiv
(
1000000000LL
*
config
.
GetDelay
()
/
n
,
1000000000
);
struct
timespec
delay
;
delay
.
tv_sec
=
d
.
quot
;
delay
.
tv_nsec
=
d
.
rem
;
...
...
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