[SCM] libav/experimental: VC1testenc: convert pts values to correct time-base.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:22:59 UTC 2013
The following commit has been merged in the experimental branch:
commit 22e9277aa5e6e5abfd037420093439058d4a14df
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date: Sat Jan 29 13:44:34 2011 +0100
VC1testenc: convert pts values to correct time-base.
Signed-off-by: Ronald S. Bultje <rsbultje at gmail.com>
diff --git a/libavformat/vc1testenc.c b/libavformat/vc1testenc.c
index 507b332..567efb2 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;
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list