Hi Paul,
Apologies for not responding quicker - I'm only a casual observer of the ivtv list!
I applied your patch.
I have the same trouble you were having ... I'm trying to get the decoder to play the stream to the end, then go to a black frame. I added the IVTV_IOC_S_STOP_DECODE ioctl to my code, but I still get frames left in the buffer. Am I using the correct ioctl? Do I need to call anything else after the IVTV_IOC_S_STOP_DECODE?
Ah, I was trying to achieve something different - stop playback immediately, for that I was using IVTV_IOC_STOP_DECODE. The stop ioctl will work as long as you know the pts at the point where you wish to stop. If you don't then checking the result IVTV_IOC_GET_TIMING and monitoring whether the parameters changes might be the solution. At that point sending a STOP_DECODE with a pts of 0 could do the trick.
cheers,
d.
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ ivtv-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ivtv-devel
