Using python Queue to store video frames