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
87a3ea31
Commit
87a3ea31
authored
Apr 29, 2014
by
Luca Barbato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
segment: Report the current media sequence
Useful for debugging mostly.
parent
344f7b5a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
segment.c
libavformat/segment.c
+3
-0
No files found.
libavformat/segment.c
View file @
87a3ea31
...
@@ -95,6 +95,9 @@ static int segment_hls_window(AVFormatContext *s, int last)
...
@@ -95,6 +95,9 @@ static int segment_hls_window(AVFormatContext *s, int last)
avio_printf
(
seg
->
pb
,
"#EXT-X-MEDIA-SEQUENCE:%d
\n
"
,
avio_printf
(
seg
->
pb
,
"#EXT-X-MEDIA-SEQUENCE:%d
\n
"
,
FFMAX
(
0
,
seg
->
number
-
seg
->
size
));
FFMAX
(
0
,
seg
->
number
-
seg
->
size
));
av_log
(
s
,
AV_LOG_VERBOSE
,
"EXT-X-MEDIA-SEQUENCE:%d
\n
"
,
FFMAX
(
0
,
seg
->
number
-
seg
->
size
));
for
(
i
=
FFMAX
(
0
,
seg
->
number
-
seg
->
size
);
for
(
i
=
FFMAX
(
0
,
seg
->
number
-
seg
->
size
);
i
<
seg
->
number
;
i
++
)
{
i
<
seg
->
number
;
i
++
)
{
avio_printf
(
seg
->
pb
,
"#EXTINF:%d,
\n
"
,
(
int
)
seg
->
time
);
avio_printf
(
seg
->
pb
,
"#EXTINF:%d,
\n
"
,
(
int
)
seg
->
time
);
...
...
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