Hi Donny,<div><br></div><div>> I don't think what you're trying to do is supported by the API</div><div><br></div><div>Thanks for the reply, I'm probably wrong but I'm really tempted to think it's possible as it's so close to working...</div>
<div><br></div><div>I'm able to:</div><div> 1. Disconnect the bin from the videomixer and attach it instead to a fakesink.</div><div> 2. Set the bin to Paused (and it pauses)</div><div> 3. Set the bin to Playing (and it plays, although as mentioned before from the wrong place)</div>
<div> 4. Disconnect the bin from the fakesink and reconnect it to the videomixer.</div><div><br></div><div>This all works while the videomixer continues to output the video from the second bin with no gliches. Almost perfect..! The only thing that isn't working is the paused bin resumes from where it would have been had you not paused it (ie. it's like we've just frozen the image and the video is still playing in the background). </div>
<div><br></div><div>Why would this be? I don't think I understand the internals of GStreamer well enough, but I assume its because when it resumes it resumes referencing the pipelines clock which is still incrementing. I suppose a hack would be to add an offset to that bin's clock or something, although I suppose that could cause problems when re-attaching it to the videomixer. </div>
<div><br></div><div>A nudge in the right direction would be great though.</div><div>Nick</div><div><br></div>