[Ffmpeg-cvslog] CVS: ffmpeg/libavformat dv.c,1.44,1.45
Michael Niedermayer CVS
michael
Fri Sep 2 10:30:29 CEST 2005
Update of /cvsroot/ffmpeg/ffmpeg/libavformat
In directory mail:/var2/tmp/cvs-serv23720/libavformat
Modified Files:
dv.c
Log Message:
lowres support
Index: dv.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/dv.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- dv.c 17 Jul 2005 22:24:35 -0000 1.44
+++ dv.c 2 Sep 2005 08:30:26 -0000 1.45
@@ -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 */
More information about the ffmpeg-cvslog
mailing list