added note to explain code

showing that a thread will block until the EOS is signaled to the file in the gstreamer pipeline