mjpg streamer framework with work queue