Fixed the focusing issue Bug #185 and fixed the header file for avi recording