Fixed a bug in sample_video_record.cpp

Thank you S.SHINOHARA !