[mythtv] [PATCH] Reinitialize deinterlace filter on video change
Ed Wildgoose
lists at wildgooses.com
Thu Oct 7 07:03:31 UTC 2004
>> Oddly enough, I've noticed that if I use the jump
>> forward or back keys, the audio and video play
>> perfectly for a second or two, then go back to the
>> slow motion stuttering mess.
>
>
> Yup, exact same behavior here.
Just a test, but try hacking the audio output code to use much larger
audio buffers. Make it try to setup as large as possible (just change
the relevant lines to be as large as possible, under Alsa it should then
pick reasonable working values that fit your requested values.
At the moment you might be having the PC context switch more often than
once a frame, which eats up enough time that you miss your next audio
priming stage. Try to get large enough buffers for more than one frames
worth of video. (try 16 buffers of 8096 samples and see what your card
actually gives you...)
Good luck
Ed W
More information about the mythtv-dev
mailing list