fixed bug in video_processing.py