Added aspect ratio options: use source resolution as is, or preserve aspect ratio. Preserve uses width if both height and width are set, if only height is set it will use that.
Fixed some ffmpeg/avformat related crashes when RTMP authentication fails or the stream is stopped with a pile of pending frames.
Merge remote-tracking branch 'CocoaSplit-github/master'