# HG changeset patch # User michael # Date 1125649826 0 # Node ID e4e8c395d8e994c704efdc5fe2ec7b7b7bd8cf9a # Parent 35e372e6a6c34505830ee4262bea39bab86e9758 lowres support diff -r 35e372e6a6c3 -r e4e8c395d8e9 dv.c --- 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 */