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
db99b32a
Commit
db99b32a
authored
Sep 30, 2019
by
Steven Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/hlsenc: add logging context to log
Signed-off-by:
Steven Liu
<
lq@chinaffmpeg.org
>
parent
14941d38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
hlsenc.c
libavformat/hlsenc.c
+4
-4
No files found.
libavformat/hlsenc.c
View file @
db99b32a
...
@@ -1305,7 +1305,7 @@ static int create_master_playlist(AVFormatContext *s,
...
@@ -1305,7 +1305,7 @@ static int create_master_playlist(AVFormatContext *s,
ret
=
hlsenc_io_open
(
s
,
&
hls
->
m3u8_out
,
temp_filename
,
&
options
);
ret
=
hlsenc_io_open
(
s
,
&
hls
->
m3u8_out
,
temp_filename
,
&
options
);
av_dict_free
(
&
options
);
av_dict_free
(
&
options
);
if
(
ret
<
0
)
{
if
(
ret
<
0
)
{
av_log
(
NULL
,
AV_LOG_ERROR
,
"Failed to open master play list file '%s'
\n
"
,
av_log
(
s
,
AV_LOG_ERROR
,
"Failed to open master play list file '%s'
\n
"
,
temp_filename
);
temp_filename
);
goto
fail
;
goto
fail
;
}
}
...
@@ -1344,7 +1344,7 @@ static int create_master_playlist(AVFormatContext *s,
...
@@ -1344,7 +1344,7 @@ static int create_master_playlist(AVFormatContext *s,
m3u8_rel_name
=
get_relative_url
(
hls
->
master_m3u8_url
,
vs
->
m3u8_name
);
m3u8_rel_name
=
get_relative_url
(
hls
->
master_m3u8_url
,
vs
->
m3u8_name
);
if
(
!
m3u8_rel_name
)
{
if
(
!
m3u8_rel_name
)
{
av_log
(
NULL
,
AV_LOG_ERROR
,
"Unable to find relative URL
\n
"
);
av_log
(
s
,
AV_LOG_ERROR
,
"Unable to find relative URL
\n
"
);
goto
fail
;
goto
fail
;
}
}
...
@@ -1358,7 +1358,7 @@ static int create_master_playlist(AVFormatContext *s,
...
@@ -1358,7 +1358,7 @@ static int create_master_playlist(AVFormatContext *s,
}
}
if
(
!
vid_st
&&
!
aud_st
)
{
if
(
!
vid_st
&&
!
aud_st
)
{
av_log
(
NULL
,
AV_LOG_WARNING
,
"Media stream not found
\n
"
);
av_log
(
s
,
AV_LOG_WARNING
,
"Media stream not found
\n
"
);
continue
;
continue
;
}
}
...
@@ -1399,7 +1399,7 @@ static int create_master_playlist(AVFormatContext *s,
...
@@ -1399,7 +1399,7 @@ static int create_master_playlist(AVFormatContext *s,
}
}
}
}
if
(
j
==
hls
->
nb_ccstreams
)
if
(
j
==
hls
->
nb_ccstreams
)
av_log
(
NULL
,
AV_LOG_WARNING
,
"mapping ccgroup %s not found
\n
"
,
av_log
(
s
,
AV_LOG_WARNING
,
"mapping ccgroup %s not found
\n
"
,
vs
->
ccgroup
);
vs
->
ccgroup
);
}
}
...
...
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