OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4543009
)
VC1testenc: convert pts values to correct time-base.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sat, 29 Jan 2011 12:44:34 +0000
(13:44 +0100)
committer
Ronald 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
patch
|
blob
|
history
diff --git
a/libavformat/vc1testenc.c
b/libavformat/vc1testenc.c
index
507b332
..
567efb2
100644
(file)
--- 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;
}