Baptiste Coudurier
637b638e1e
only write trailer when state says so, should fix issue #646
...
Originally committed as revision 15398 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
31296f6eec
add missing html start tag to ffserver status html page
...
Originally committed as revision 15241 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
a3aa4fed62
cleanup, merge snprintf calls
...
Originally committed as revision 15240 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
a7f361eb13
100l, compute correctly poll_table size when allocating
...
Originally committed as revision 15238 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
4af92de6f6
Make the nb_max_connections and nb_connections int variables unsigned.
...
Originally committed as revision 15191 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
1c9ff17920
Make the maximum number of simultaneous HTTP connections handled by
...
ffserver a configuration parameter. The name of the new parameter
introduced is MaxHTTPConnections.
Originally committed as revision 15182 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
ea452b54f0
strcasecmp() requires #include <strings.h>
...
Originally committed as revision 14728 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
29d3ed3be6
ffserver: SA_RESTART and unsetenv require _XOPEN_SOURCE
...
Originally committed as revision 14724 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
e16190fa7a
cosmetics: typo fixes
...
Originally committed as revision 14376 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
59e7894c3d
print AVCodecContext address instead of AVClass, better when multiple instances of same codecs are used, based on r14237
...
Originally committed as revision 14255 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
7ac884c591
Fix a warning in ffserver.c caused by the use of the function
...
av_set_string() deprecated since r14134.
Originally committed as revision 14145 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
a9d9aa3613
revert r13867, - reference stdout, I was drunk
...
Originally committed as revision 13978 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
80b616fca3
use http_log now that logfile is setup
...
Originally committed as revision 13975 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
f10d55ed88
move logfile setup right after config parsing
...
Originally committed as revision 13974 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
f0754ad822
remove useless init
...
Originally committed as revision 13973 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
8bf61f5ba9
Reindent.
...
Originally committed as revision 13956 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
5dc8eeb639
Make ffserver show launched commandlines not only in debug-mode.
...
Originally committed as revision 13955 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
6aada9b1ba
Use http_log() rather than printing on stdout to show the launched
...
commandlines.
Originally committed as revision 13954 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
40444a59c1
Make ffserver show each launched commandline just before to launch
...
them rather than print them when parsing the configuration file. This
way those commandlines are not showed anymore in no-launch mode.
Originally committed as revision 13950 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
14c43f918f
log when feed is already being received
...
Originally committed as revision 13939 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
65f2f028ff
reindent
...
Originally committed as revision 13938 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
cb51aef1ab
copy extradata if present
...
Originally committed as revision 13913 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
496a613293
Make ffserver daemon chdir()s just after log init. This way a
...
relative path for the logfile is resolved according to the directory
where ffserver has been launched, as the user expects.
Originally committed as revision 13911 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
b06759549f
fix segv, fmt_ctx is not set for rtsp
...
Originally committed as revision 13910 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
ace21da3cf
cosmetics, braces placement
...
Originally committed as revision 13908 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
3ab29d8e4f
10l, do not use ctx before being set, fix segv
...
Originally committed as revision 13906 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
dc3a6a368c
fix compilation, this should be better
...
Originally committed as revision 13905 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
4def51fa59
10l, move init after possible goto
...
Originally committed as revision 13904 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
8f56ccca92
simplify, use ist
...
Originally committed as revision 13903 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
250be719e4
fix source stream, source_index is refering to fmt_in, needs testing
...
Originally committed as revision 13902 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
d80904cc87
simplify
...
Originally committed as revision 13901 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
e21ac20921
no need to print date anymore since done in http_log
...
Originally committed as revision 13900 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
3d9cc27df8
move code setting output parameters after possible failure
...
Originally committed as revision 13876 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
697efa36c7
move code after possible failure, so no need to free
...
Originally committed as revision 13875 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
e6f0deab80
check av_open_input_stream error
...
Originally committed as revision 13874 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
fbc6314428
remove return 1, we don't change state, we are still sending data
...
Originally committed as revision 13873 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
86771c6804
free pb
...
Originally committed as revision 13872 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
f2972c8c82
use av_open_input_stream
...
Originally committed as revision 13871 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
381ec67749
do not allocate st->codec, it will be overwritten later; fix memleak
...
Originally committed as revision 13870 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
0b459fb2d8
log to stderr
...
Originally committed as revision 13867 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
bcd3ce5903
add callback for av_log
...
Originally committed as revision 13866 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
82e0be62ef
no need to print date anymore since done in http_log
...
Originally committed as revision 13865 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
9fd3442f63
use ctime1
...
Originally committed as revision 13864 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
124ed1c073
print date in http_log
...
Originally committed as revision 13863 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
fa288df453
remove useless init
...
Originally committed as revision 13862 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
f69bb0cc1c
merge declaration and init
...
Originally committed as revision 13861 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
2b9cd1e78a
reindent
...
Originally committed as revision 13860 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
d2a1ea1d9b
http or rtsp only support
...
Originally committed as revision 13859 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
3296409d5c
fix open return check
...
Originally committed as revision 13858 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Erik Hovland
0679719d5b
fix feed_filename test, field is char [1024], patch by Erik Hovland, erik at hovland dot org
...
Originally committed as revision 13857 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago