<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"><head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
 </head><body style=""><div>Hello,</div>
<div> </div>
<div>I have a pipeline which consists of several video streams, like this:</div>
<div> </div>
<div>PIpeline</div>
<div>MyBin----------|</div>
<div>   MySource1 | -> playbin1 -> videosink1</div>
<div>   MySource2 |-> playbin 2-> videosink2</div>
<div>   MySource3 |-> playbin 3-> videosink3</div>
<div>------------------|</div>
<div> </div>
<div>The user can only view one source at a time, but can switch between viewable sources at will. This all works well already, but, as currently implemented, full video processing takes place for all streams all the time. What I would like to achieve is to "disable" those streams that are not currently being viewed such that the basesrc->fill function is not even called on the respective MySource elements. This is to avoid the significant processing overhead (buffer allocation + debayering).</div>
<div> </div>
<div>What would be the best way to do this?</div>
<div> </div>
<div>thanks,</div>
<div>Christian</div></body></html>