Mercurial > libavcodec.hg
diff h264.c @ 9065:3dbe483ce6c4 libavcodec
Fix SVQ3 regression since ticks_per_frame=2.
| author | michael |
|---|---|
| date | Fri, 27 Feb 2009 14:01:32 +0000 |
| parents | 3c5920f57063 |
| children | 77cbbce1be94 |
line wrap: on
line diff
--- a/h264.c Fri Feb 27 08:27:50 2009 +0000 +++ b/h264.c Fri Feb 27 14:01:32 2009 +0000 @@ -2201,7 +2201,8 @@ h->sei_dpb_output_delay = 0; h->sei_cpb_removal_delay = -1; h->sei_buffering_period_present = 0; - avctx->ticks_per_frame = 2; + if(avctx->codec_id == CODEC_ID_H264) + avctx->ticks_per_frame = 2; return 0; }
