Mercurial > libavformat.hg
diff dv.c @ 845:e4e8c395d8e9 libavformat
lowres support
author | michael |
---|---|
date | Fri, 02 Sep 2005 08:30:26 +0000 |
parents | feca73904e67 |
children | 928cc1de1256 |
line wrap: on
line diff
--- a/dv.c Sun Aug 21 22:31:01 2005 +0000 +++ b/dv.c Fri Sep 02 08:30:26 2005 +0000 @@ -593,8 +593,10 @@ 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; + if(!avctx->width){ + avctx->width = sys->width; + avctx->height = sys->height; + } avctx->pix_fmt = sys->pix_fmt; /* finding out SAR is a little bit messy */