VC1testenc: convert pts values to correct time-base.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 29 Jan 2011 12:44:34 +0000 (13:44 +0100)
committerRonald S. Bultje <rsbultje@gmail.com>
Mon, 31 Jan 2011 14:25:18 +0000 (09:25 -0500)
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavformat/vc1testenc.c

index 507b332..567efb2 100644 (file)
@@ -47,6 +47,7 @@ static int vc1test_write_header(AVFormatContext *s)
         put_le32(pb, s->streams[0]->r_frame_rate.den);
     else
         put_le32(pb, 0xFFFFFFFF); //variable framerate
+    av_set_pts_info(s->streams[0], 32, 1, 1000);
 
     return 0;
 }