[mythtv] [PATCH] Video timebase

Isaac Richards ijr at po.cwru.edu
Mon Dec 22 23:50:14 EST 2003


On Monday 22 December 2003 01:11 pm, steve at nexusuk.org wrote:
> This patch adds a "Use video as timebase" option, which displays the video
> at a constant rate and dynamically warps the audio speed to correct drift.

This looks pretty good, though I'd probably want the buffers in AddAudioData 
more static, as otherwise, that's a lot of memory allocation/deallocation 
going on.

> Bugs: The audio warper for void NuppelVideoPlayer::AddAudioData(char
> *buffer, int len, long long timecode) makes a complete mess of the audio.
> This basically affects PCM audio and probably MPEG2 playback - MP3 audio
> uses void NuppelVideoPlayer::AddAudioData(short int *lbuffer, short int
> *rbuffer, int samples, long long timecode) which works fine.

Are you planning on fixing this?

Isaac


More information about the mythtv-dev mailing list