Hello Billy,
But stopping streaming could take a long time, the latency on channel
change would be huge!
I know that this is mostly nitpicking, but well:
If you switch to a new channel, the video acquisition of your capture
card needs about 1-5 frames to sync to the new video signal. These are
40ms to 200ms that are simply lost.
In that time, you can unmap the buffers if necessary, query the buffers
again if necessary, map them again, queue them again and start streaming
capture.
If you don't have a norm change, you can simply queue them again and
start over.
CU
Michael.