This fixes the parts missing from John Harveys patch, also fixes the encoder problems hopefully, and adds 2 new ioctls for stopping the decoder and finishing all the buffers before hand, also the splice ioctl to make seamless splicing possible. These ioctls are both ones you turn of/off and influence how the decoder stops. I expect the splice one could help Myth in channel changes or whereever the decoder is stopped and restarted, usually with showing the last frame, but with splice it'll also keep the decoder primed to start immediately again (quicker than without it in splice mode, currently how it's done). The fast stop will be interesting to play around with, should allow you to feed it more exact chunks and know the will mostly decode, although you may need to pad it with around 700-1000 k of ending since that is part left in the decoders buffer which may not be able to fully decode from hardware limitations, under testing if we let that fully decode the decoder gets very buggy, but it may actually decode it and just not report it's out of the buffer which when we wait for that then it may mean it's really wanting more data and when we stop it that's bad (possibly a hardware bug). Also this changes some things for VBI, please test, I am using the Windows drivers values for VBI setup, I think this should work across all cards and standards, so test to see (VBI re-insertion may still be as buggy as ever, it will corrupt mpeg streams from what I can tell and not be able to buffer all the VBI data so it'll steal buffers, so turn it OFF in Myth).
#0.3.4: http://www.ivtv.tv/releases/ivtv-0.3/ ivtv.h: (default is not to splice, and to fast stop, so 0 and 1 by default) #define IVTV_IOC_DEC_SPLICE _IOW ('@', 58, int) #define IVTV_IOC_DEC_FAST_STOP _IOW ('@', 59, int) Thanks, Chris -- --- Chris Kennedy / [EMAIL PROTECTED] Engineer KMOS-TV/KTBG-FM Broadcasting Services Department Central Missouri State University ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ ivtv-devel mailing list ivtv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ivtv-devel