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
b133ec62
Commit
b133ec62
authored
Nov 29, 2013
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffserver: improve feedback in case no feed is defined for a stream
parent
00835147
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
ffserver.c
ffserver.c
+6
-1
No files found.
ffserver.c
View file @
b133ec62
...
...
@@ -3690,7 +3690,12 @@ static void build_file_streams(void)
av_dict_set
(
&
stream
->
in_opts
,
"mpeg2ts_compute_pcr"
,
"1"
,
0
);
}
http_log
(
"Opening file '%s'
\n
"
,
stream
->
feed_filename
);
if
(
!
stream
->
feed_filename
[
0
])
{
http_log
(
"Unspecified feed file for stream '%s'
\n
"
,
stream
->
filename
);
goto
fail
;
}
http_log
(
"Opening feed file '%s' for stream '%s'
\n
"
,
stream
->
feed_filename
,
stream
->
filename
);
if
((
ret
=
avformat_open_input
(
&
infile
,
stream
->
feed_filename
,
stream
->
ifmt
,
&
stream
->
in_opts
))
<
0
)
{
http_log
(
"Could not open '%s': %d
\n
"
,
stream
->
feed_filename
,
ret
);
/* remove stream (no need to spend more time on it) */
...
...
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