Mercurial > libavformat.hg
diff sol.c @ 567:23b915bb10f5 libavformat
set correct timebase
author | michael |
---|---|
date | Mon, 18 Oct 2004 09:43:39 +0000 |
parents | 59da52e5f5a5 |
children | c5077fdab490 |
line wrap: on
line diff
--- a/sol.c Sat Oct 16 21:27:42 2004 +0000 +++ b/sol.c Mon Oct 18 09:43:39 2004 +0000 @@ -117,7 +117,8 @@ st->codec.codec_tag = id; st->codec.codec_id = codec; st->codec.channels = channels; - st->codec.sample_rate = rate; + st->codec.sample_rate = rate; + av_set_pts_info(st, 64, 1, rate); return 0; }