diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-02-26 23:47:32 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-02-26 23:47:32 +0000 |
commit | 3797c74ba5350692122a81db62a7bf2ce152f7fc (patch) | |
tree | 937ea6305b90b405b4760bcabf0d23de1379a869 /libavcodec/h264.c | |
parent | 83569729d461d4a9465ad90d6a6e36eb2c358cb5 (diff) | |
download | ffmpeg-streaming-3797c74ba5350692122a81db62a7bf2ce152f7fc.zip ffmpeg-streaming-3797c74ba5350692122a81db62a7bf2ce152f7fc.tar.gz |
Add ticks_per_frame, this should hopefully fix the regressions caused
by the time_base change.
Originally committed as revision 17630 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 64ca5b7..24dc201 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -2201,6 +2201,7 @@ static av_cold int decode_init(AVCodecContext *avctx){ h->sei_dpb_output_delay = 0; h->sei_cpb_removal_delay = -1; h->sei_buffering_period_present = 0; + avctx->ticks_per_frame = 2; return 0; } |