Commit cd5b40be authored by Simon Morlat's avatar Simon Morlat
Browse files

fix bug in video_stream_change_camera()

parent bc372212
......@@ -403,6 +403,9 @@ void video_stream_change_camera(VideoStream *stream, MSWebCam *cam){
/*re create new ones and configure them*/
stream->source = ms_web_cam_create_reader(cam);
ms_filter_link (stream->source, 0, stream->pixconv, 0);
ms_filter_link (stream->pixconv, 0, stream->sizeconv, 0);
ms_filter_link (stream->sizeconv, 0, stream->tee, 0);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment