Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
344f7b5a
Commit
344f7b5a
authored
Apr 29, 2014
by
Luca Barbato
Browse files
hls: Report the current media sequence
Useful for debugging mostly.
parent
a7c5fdda
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
libavformat/hlsenc.c
libavformat/hlsenc.c
+3
-0
No files found.
libavformat/hlsenc.c
View file @
344f7b5a
...
...
@@ -147,6 +147,9 @@ static int hls_window(AVFormatContext *s, int last)
avio_printf
(
hls
->
pb
,
"#EXT-X-MEDIA-SEQUENCE:%"
PRId64
"
\n
"
,
FFMAX
(
0
,
hls
->
sequence
-
hls
->
size
));
av_log
(
s
,
AV_LOG_VERBOSE
,
"EXT-X-MEDIA-SEQUENCE:%"
PRId64
"
\n
"
,
FFMAX
(
0
,
hls
->
sequence
-
hls
->
size
));
for
(
en
=
hls
->
list
;
en
;
en
=
en
->
next
)
{
avio_printf
(
hls
->
pb
,
"#EXTINF:%d,
\n
"
,
en
->
duration
);
if
(
hls
->
baseurl
)
...
...
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