Hi Guys,<br><br>I would like to write an application, which captures video from a webcam, with v4l2src, and displays it with an xvimagesink.<br>I use the next pipeline v4l2src -> capsfilter -> xvimagesink. My webcam can produce 320x240 and 640x480 images, with capsfilter I request 320x240 first. Later I would like to change the resolution to 640x480 on the fly. I tried to reach this by the following steps:<br>
- Block the v4l2src's src pad <br>- Unlink capsfilter from v4l2src and xvimagesink<br>- Set capsfilter's state to NULL<br>- Create a new capsfilter with 640x480 resolution<br>- Link the new capsfilter to xvimagesink, and link v4l2src to the new capsfilter<br>
- Set the new capsfilter's state to PAUSED<br>- Unblock v4l2src's src pad.<br><br>it doesn't work for me. How can I solve this problem?<br><br>Thanks for the answers!<br><br>BR,<br>Tamas<br>