diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2010-03-31 21:02:34 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2010-03-31 21:02:34 +0000 |
commit | d9521cb1197c8b5bd1611ec0edfdf58b7a56e30e (patch) | |
tree | a959e40a32e98d6254fee991629bc82cd1d21ae8 /libavfilter/avfilter.c | |
parent | d103218046883cb9e7f6e83af53b0982fee370ba (diff) | |
download | ffmpeg-d9521cb1197c8b5bd1611ec0edfdf58b7a56e30e.tar.gz |
Fix FFM-based streaming from ffmpeg to ffserver. The basic problem is that
we'd memset() the codec context to zero, thereby setting audio input to U8
and video to YUV420P. For most video encoders, that actually works, but for
most audio codecs, it doesn't. This patch changes defaults to those set by
avcodec_context_get_defaults() and have ffmpeg figure out the optimal encoding
format itself if not set explicitely (as it does for the non-ffserver-cases
also).
Originally committed as revision 22751 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfilter.c')
0 files changed, 0 insertions, 0 deletions