Fix for two bugs
1. Bitrate needs to be set to 0 on OUTPUT port of encoder otherwise
it doesnt pick up the frame rate on its input port when connected
2. Filename incorrectly copied without terminator when set.
Merge pull request #154 from JamesH65/framerate_and_filename_fixes

Fix for two bugs