From 595bf4ef63fc9a4d863b5ecc53605640301f2273 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 18 Oct 2004 09:43:39 +0000 Subject: set correct timebase Originally committed as revision 3607 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/sol.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavformat/sol.c') diff --git a/libavformat/sol.c b/libavformat/sol.c index 2631310c9b..038feeaac6 100644 --- a/libavformat/sol.c +++ b/libavformat/sol.c @@ -117,7 +117,8 @@ static int sol_read_header(AVFormatContext *s, 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; } -- cgit v1.2.3