Use bzalloc instead of bmalloc then memset

Reduces needless code repetition and still allows for proper memory
alignment.  Cleans up the code a bit.
Updated cmake files for ffmpeg plugin

Also, fixed an enum name issue.  No clue why visual
studio actually compiled that without warnings/errors
Do test recording to a specified file

It will now output to a a filename that you specify when you click the
record button.  This is just for testing.
Use AVI instead of MP4 for testing

The codecs used for AVI seem to have less of an impact than the MP4
codecs at the moment.
Fix memory leak in OSX test code
Moved screen grabber code to _tick function

Moved the screen grabbing and texture generation to the
_tick function in order to keep _render fast
Merge branch 'master' of https://github.com/jp9000/obs-studio
Align output width to 16 byte alignment

The 444->420 conversion function will crash if you don't align the
output width to a 16 byte boundry.
I shouldn't have committed before compiling

Note to self - compile before committing.
Move alignment code to obs_reset_video

It wasn't properly being set for the graphics textures as well, so it
would end up causing SSE to crash due to alignment
Merge branch 'master' of https://github.com/jp9000/obs-studio
Implemented _tick function in xcursor library

Implemented a _tick function in the xcursor library,
so the cursor texture and position can be updated
from the input plugin _tick function.