summaryrefslogtreecommitdiff
path: root/libavformat/vc1testenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/vc1testenc.c')
-rw-r--r--libavformat/vc1testenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/vc1testenc.c b/libavformat/vc1testenc.c
index 507b332a86..567efb2d3a 100644
--- a/libavformat/vc1testenc.c
+++ b/libavformat/vc1testenc.c
@@ -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;
}