]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - libavcodec/h264.c
Add ticks_per_frame, this should hopefully fix the regressions caused
[frescor/ffmpeg.git] / libavcodec / h264.c
index 64ca5b7e66ad80cbdc8c0890d95e2daacc6fdd4a..24dc201e9fbbb185600810f1f7d11e2b49924dc2 100644 (file)
@@ -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;
 }