[Ffmpeg-devel] [PATCH] VMD improvement
Michael Niedermayer
michaelni
Thu Mar 9 00:59:35 CET 2006
Hi
On Wed, Mar 08, 2006 at 06:52:13PM +0200, Kostya wrote:
[...]
> @@ -285,7 +291,7 @@
> pkt->pts = vmd->audio_sample_counter;
> pkt->pts *= 90000;
> pkt->pts /= vmd->sample_rate;
> -// pkt->pts /= vmd->audio_frame_divisor;
> + pkt->pts /= vmd->audio_channels;
> vmd->audio_sample_counter += vmd_calculate_audio_duration(
> pkt->data, pkt->size, vmd->audio_block_align);
while it isnt related to the patch ... please set the timebase
correctly with av_set_pts_info() instead of settimg it wrong and then
rescaling all timestamps
[...]
--
Michael
More information about the ffmpeg-devel
mailing list