OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
939bfc8
)
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
Michael Niedermayer
<michaelni@gmx.at>
Mon, 31 Jan 2011 17:25:47 +0000
(18:25 +0100)
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit
22e9277aa5e6e5abfd037420093439058d4a14df
)
libavformat/vc1testenc.c
patch
|
blob
|
history
diff --git
a/libavformat/vc1testenc.c
b/libavformat/vc1testenc.c
index
06431da
..
6023884
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;
}