* support h264_v4l2m2m encoder
* fix h264_v4l2m2m encoder draining error
Handle h264_v4l2m2m encoder setting packet pts and size to zero rather
than returning AVERROR_EOF to indicate the end of codec draining.
* ffmpeg_alloc_video_buffer: more useful error message
* ffmpeg_alloc_video_buffer: get rid of goto
* ffmpeg: rearrange end of codec drain detection code
* ffmpeg: only NV21 format convert if h264_v4l2m2m
* ffmpeg: handle separated NAL unit during encoding
* ffmpeg: ensure first frame PTS is zero
* Revise to use enum and parse into some smaller functions
* v4l2_fps_set added to set device framerate
* Update video_v4l2.c
in v4l2_fps_set:
- moved function v4l2_fps_set() up into HAVE_V4L2 logic
- replaced calloc() by mymalloc()
- removed redundant memset()
- added freeing up memory before function exit
* Revise setting and reporting for fps on v4l2 devices
* Changed how jpeg is written to file
Removed redundant code, put jpeg to memory and then write to file using fwrite
* Similar reuse of function put_jpeg_grey_memory
* Add jpeg error handler to put_jpeg_yuv420p_memory
Handlers copied from jpegutils.c
* Too much copied, removing extra line
* Similar changes to grey jpeg code
* Moved jpeg related functions from picture.c to jpegutils.c
* Fix for travis: unused parameter
* Few more unnecessary code removed from picture.c
* Fix for travis: no previous prototype
* Adjust function names and headers
It will contain full command line of extpipe
The problem was that this command line was only stored in a temp buffer
upon creation of the pipe. So it was not possible to write full command
line into log if pipe fails to put a frame
webu_hostname currently incorrectly parses IPv6 [] style IP addresses in hostnames because it misinterprets the colons within them as the port delimiting colon.