mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-07 07:13:20 +00:00
VC1testenc: convert pts values to correct time-base.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
parent
4543009943
commit
22e9277aa5
@ -47,6 +47,7 @@ static int vc1test_write_header(AVFormatContext *s)
|
|||||||
put_le32(pb, s->streams[0]->r_frame_rate.den);
|
put_le32(pb, s->streams[0]->r_frame_rate.den);
|
||||||
else
|
else
|
||||||
put_le32(pb, 0xFFFFFFFF); //variable framerate
|
put_le32(pb, 0xFFFFFFFF); //variable framerate
|
||||||
|
av_set_pts_info(s->streams[0], 32, 1, 1000);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user