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
907101eb
Commit
907101eb
authored
Jan 03, 2015
by
Reynaldo H. Verdejo Pinochet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffserver: reflow compute_status()
Signed-off-by:
Reynaldo H. Verdejo Pinochet
<
reynaldo@osg.samsung.com
>
parent
5c95de15
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
ffserver.c
ffserver.c
+8
-4
No files found.
ffserver.c
View file @
907101eb
...
...
@@ -1770,7 +1770,10 @@ static void compute_status(HTTPContext *c)
char
sfilename
[
1024
];
char
*
eosf
;
if
(
stream
->
feed
!=
stream
)
{
if
(
stream
->
feed
==
stream
)
{
stream
=
stream
->
next
;
continue
;
}
av_strlcpy
(
sfilename
,
stream
->
filename
,
sizeof
(
sfilename
)
-
10
);
eosf
=
sfilename
+
strlen
(
sfilename
);
if
(
eosf
-
sfilename
>=
4
)
{
...
...
@@ -1849,14 +1852,16 @@ static void compute_status(HTTPContext *c)
avio_printf
(
pb
,
"<td align=center> - <td align=right> - <td align=right> - <td><td align=right> - <td>
\n
"
);
break
;
}
}
stream
=
stream
->
next
;
}
avio_printf
(
pb
,
"</table>
\n
"
);
stream
=
config
.
first_stream
;
while
(
stream
)
{
if
(
stream
->
feed
==
stream
)
{
if
(
stream
->
feed
!=
stream
)
{
stream
=
stream
->
next
;
continue
;
}
avio_printf
(
pb
,
"<h2>Feed %s</h2>"
,
stream
->
filename
);
if
(
stream
->
pid
)
{
avio_printf
(
pb
,
"Running as pid %d.
\n
"
,
stream
->
pid
);
...
...
@@ -1916,7 +1921,6 @@ static void compute_status(HTTPContext *c)
}
avio_printf
(
pb
,
"</table>
\n
"
);
}
stream
=
stream
->
next
;
}
...
...
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