Commit Graph

264 Commits

Author SHA1 Message Date
Baptiste Coudurier
ace21da3cf cosmetics, braces placement
Originally committed as revision 13908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 08:12:15 +00:00
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
2008-06-23 07:28:49 +00:00
Baptiste Coudurier
dc3a6a368c fix compilation, this should be better
Originally committed as revision 13905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 03:21:40 +00:00
Baptiste Coudurier
4def51fa59 10l, move init after possible goto
Originally committed as revision 13904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 03:18:55 +00:00
Baptiste Coudurier
8f56ccca92 simplify, use ist
Originally committed as revision 13903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 03:18:24 +00:00
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
2008-06-23 03:16:24 +00:00
Baptiste Coudurier
d80904cc87 simplify
Originally committed as revision 13901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 02:41:06 +00:00
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
2008-06-23 02:16:00 +00:00
Baptiste Coudurier
3d9cc27df8 move code setting output parameters after possible failure
Originally committed as revision 13876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 03:42:23 +00:00
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
2008-06-22 03:30:53 +00:00
Baptiste Coudurier
e6f0deab80 check av_open_input_stream error
Originally committed as revision 13874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 03:25:20 +00:00
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
2008-06-22 03:20:28 +00:00
Baptiste Coudurier
86771c6804 free pb
Originally committed as revision 13872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 02:34:33 +00:00
Baptiste Coudurier
f2972c8c82 use av_open_input_stream
Originally committed as revision 13871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 02:31:57 +00:00
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
2008-06-22 02:15:13 +00:00
Baptiste Coudurier
0b459fb2d8 log to stderr
Originally committed as revision 13867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 01:31:37 +00:00
Baptiste Coudurier
bcd3ce5903 add callback for av_log
Originally committed as revision 13866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 01:30:41 +00:00
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
2008-06-22 01:13:33 +00:00
Baptiste Coudurier
9fd3442f63 use ctime1
Originally committed as revision 13864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 01:12:39 +00:00
Baptiste Coudurier
124ed1c073 print date in http_log
Originally committed as revision 13863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 01:08:48 +00:00
Baptiste Coudurier
fa288df453 remove useless init
Originally committed as revision 13862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 00:55:23 +00:00
Baptiste Coudurier
f69bb0cc1c merge declaration and init
Originally committed as revision 13861 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 00:54:25 +00:00
Baptiste Coudurier
2b9cd1e78a reindent
Originally committed as revision 13860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 00:53:28 +00:00
Baptiste Coudurier
d2a1ea1d9b http or rtsp only support
Originally committed as revision 13859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 00:52:22 +00:00
Baptiste Coudurier
3296409d5c fix open return check
Originally committed as revision 13858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 00:33:08 +00:00
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
2008-06-22 00:30:48 +00:00
Baptiste Coudurier
60a04f7fc9 use av_seek_frame to flush demxu pending packets, fixes seeking, should have been done when av_find_stream_info was added
Originally committed as revision 13855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 00:22:21 +00:00
Baptiste Coudurier
f8b06be970 free c->pb_buffer before overwriting it, fix memleak
Originally committed as revision 13853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-21 06:08:59 +00:00
Baptiste Coudurier
4f0a942bae return 1 when error during write frame, state changed
Originally committed as revision 13851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-21 03:55:25 +00:00
Baptiste Coudurier
8aae202e44 set default preload and max_delay for muxer to avoid mpeg ps muxer to spit many underflow errors, use ffmpeg default values
Originally committed as revision 13850 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-21 03:43:16 +00:00
Baptiste Coudurier
177d256402 change bandwidth to unsigned
Originally committed as revision 13849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-21 03:38:49 +00:00
Baptiste Coudurier
794ac28c52 remove useless init, logfilename is static
Originally committed as revision 13848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-21 03:37:04 +00:00
Baptiste Coudurier
acae1492cf use http_log when log file is setup
Originally committed as revision 13847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-21 03:35:48 +00:00
Baptiste Coudurier
4e8f77ab61 always use stdout to log when running in debug mode
Originally committed as revision 13846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-21 03:34:18 +00:00
Baptiste Coudurier
b43bf8acf1 rescale duration when outputting packet
Originally committed as revision 13845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-21 03:32:37 +00:00
Baptiste Coudurier
050056d08c log accept error
Originally committed as revision 13844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-21 03:31:30 +00:00
Baptiste Coudurier
b4befb99c2 use http_log when log file is setup
Originally committed as revision 13843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-21 03:29:59 +00:00
Baptiste Coudurier
0dc17c21ec upgrade bandwidth config to use int64_t, raise limit
Originally committed as revision 13842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-21 03:26:24 +00:00
Baptiste Coudurier
1ad8289ede upgrade bandwidth to uint64_t
Originally committed as revision 13841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-21 03:23:51 +00:00
Baptiste Coudurier
9507a12e42 add static
Originally committed as revision 13840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-21 03:21:29 +00:00
Stefano Sabatini
dca2108541 Cosmetics: s/stats/status/ in ffserver.c.
Originally committed as revision 13809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 07:10:44 +00:00
Baptiste Coudurier
7ab088648b add AVOption support in ffserver configuration file
Originally committed as revision 13719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-09 00:25:33 +00:00
Stefano Sabatini
59c2959d07 use unsetenv, fix warning, patch by Stefano Sabatini, stefano dot sabatini-lala at poste dot it
Originally committed as revision 13707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 23:56:00 +00:00
Stefano Sabatini
17b01199f0 use program_name to be more consistent with the banner, patch by Stefano Sabatini, stefano dot sabatini-lala at poste dot it
Originally committed as revision 13706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 23:49:26 +00:00
Baptiste Coudurier
2dae1dd0dd add \n to error message
Originally committed as revision 13592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 02:01:22 +00:00
Baptiste Coudurier
180b7026b9 2nd try fix got_key_frame when video+audio
Originally committed as revision 13559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 17:53:50 +00:00
Baptiste Coudurier
78728064c3 fix got_key_frame when stream is audio
Originally committed as revision 13552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 02:32:58 +00:00
Baptiste Coudurier
0332f54945 set got_key_frame when packet is video, fix first video packet with index 0 and 2 streams
Originally committed as revision 13551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 02:26:07 +00:00
Baptiste Coudurier
3766ed7214 log error when writing frame to output
Originally committed as revision 13548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 01:46:57 +00:00
Baptiste Coudurier
c1593d0e56 wake up connections to stop waiting when feed is being closed
Originally committed as revision 13547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 01:46:06 +00:00