Mercurial > libavformat.hg
diff dv.c @ 743:af4e24d6310c libavformat
switch to native time bases
| author | michael |
|---|---|
| date | Sat, 30 Apr 2005 21:43:59 +0000 |
| parents | 56cf208ff0d0 |
| children | cdb845a57ae4 |
line wrap: on
line diff
--- a/dv.c Tue Apr 26 21:46:46 2005 +0000 +++ b/dv.c Sat Apr 30 21:43:59 2005 +0000 @@ -591,9 +591,8 @@ if (sys) { avctx = &c->vst->codec; - avctx->frame_rate = sys->frame_rate; - avctx->frame_rate_base = sys->frame_rate_base; av_set_pts_info(c->vst, 64, sys->frame_rate_base, sys->frame_rate); + avctx->time_base= (AVRational){sys->frame_rate_base, sys->frame_rate}; avctx->width = sys->width; avctx->height = sys->height; avctx->pix_fmt = sys->pix_fmt;
