diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-02-07 08:13:05 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-02-26 07:30:21 +0100 |
commit | 87d7a92b62ad9b582afa0d4006c5a387e7a1bdac (patch) | |
tree | d6643f304776dca0ba77a608dc4b9252dd7f17c6 /libavformat/rawdec.c | |
parent | d43040e28b7e9af315260c0837e276fdeda8eb79 (diff) | |
download | ffmpeg-87d7a92b62ad9b582afa0d4006c5a387e7a1bdac.tar.gz |
rawdec: set timebase to 1/fps.
Diffstat (limited to 'libavformat/rawdec.c')
-rw-r--r-- | libavformat/rawdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c index 73b3709ac1..63e963f8a4 100644 --- a/libavformat/rawdec.c +++ b/libavformat/rawdec.c @@ -159,7 +159,7 @@ int ff_raw_video_read_header(AVFormatContext *s) } st->r_frame_rate = st->avg_frame_rate = framerate; - avpriv_set_pts_info(st, 64, 1, 1200000); + avpriv_set_pts_info(st, 64, framerate.den, framerate.num); fail: return ret; |