Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
51888c85
Commit
51888c85
authored
Apr 11, 2018
by
Vishwanath Dixit
Committed by
Karthick Jeyapal
Apr 17, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/dashenc: writing average segment duration for @duration in template mode
parent
ab789e18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dashenc.c
libavformat/dashenc.c
+1
-1
No files found.
libavformat/dashenc.c
View file @
51888c85
...
...
@@ -347,7 +347,7 @@ static void output_segment_list(OutputStream *os, AVIOContext *out, AVFormatCont
int
timescale
=
c
->
use_timeline
?
os
->
ctx
->
streams
[
0
]
->
time_base
.
den
:
AV_TIME_BASE
;
avio_printf
(
out
,
"
\t\t\t\t
<SegmentTemplate timescale=
\"
%d
\"
"
,
timescale
);
if
(
!
c
->
use_timeline
)
avio_printf
(
out
,
"duration=
\"
%"
PRId64
"
\"
"
,
c
->
last
_duration
);
avio_printf
(
out
,
"duration=
\"
%"
PRId64
"
\"
"
,
c
->
seg
_duration
);
avio_printf
(
out
,
"initialization=
\"
%s
\"
media=
\"
%s
\"
startNumber=
\"
%d
\"
>
\n
"
,
c
->
init_seg_name
,
c
->
media_seg_name
,
c
->
use_timeline
?
start_number
:
1
);
if
(
c
->
use_timeline
)
{
int64_t
cur_time
=
0
;
...
...
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