Browse Source

VC1testenc: convert pts values to correct time-base.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 22e9277aa5)
tags/n0.8
Reimar Döffinger Michael Niedermayer 15 years ago
parent
commit
2ff4a2764e
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/vc1testenc.c

+ 1
- 0
libavformat/vc1testenc.c View 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;
}


Loading…
Cancel
Save