Mercurial > libavformat.hg
diff raw.c @ 567:23b915bb10f5 libavformat
set correct timebase
author | michael |
---|---|
date | Mon, 18 Oct 2004 09:43:39 +0000 |
parents | 89bd76208427 |
children | f701ba509d0c |
line wrap: on
line diff
--- a/raw.c Sat Oct 16 21:27:42 2004 +0000 +++ b/raw.c Mon Oct 18 09:43:39 2004 +0000 @@ -60,6 +60,7 @@ case CODEC_TYPE_AUDIO: st->codec.sample_rate = ap->sample_rate; st->codec.channels = ap->channels; + av_set_pts_info(st, 64, 1, st->codec.sample_rate); break; case CODEC_TYPE_VIDEO: st->codec.frame_rate = ap->frame_rate;