ffmpeg forgets to set AVFormatParameters::pix_fmt when capturing from a v4l card. In other words, if you type ffmpeg -pix_fmt yuv422 -s 352x288 test.avi the "-pix_fmt yuv422" option will have no effect.
ffmpeg forgets to set AVFormatParameters::pix_fmt when capturing from a
v4l card.
In other words, if you type ffmpeg -pix_fmt yuv422 -s 352x288 test.avi
the "-pix_fmt yuv422" option will have no effect.

Patch by Luca Abeni *** lucabe72 !a! email ! it ***


git-svn-id: a4d7c1866f8397a4106e0b57fc4fbf792bbdaaaf@4899 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

prajnashi/ffmpeg,prajnashi/ffmpeg,prajnashi/ffmpeg,prajnashi/ffmpeg