[Mplayer-cvslog] CVS: main/libmpcodecs ve_lavc.c,1.103,1.104
Richard Felker CVS
syncmail at mplayerhq.hu
Mon Oct 18 14:26:48 CEST 2004
CVS change done by Richard Felker CVS
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv769/libmpcodecs
Modified Files:
ve_lavc.c
Log Message:
10l...autoaspect was always applied to muxer aspect if using newer libavcodec...hope this is ok
Index: ve_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_lavc.c,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -r1.103 -r1.104
--- ve_lavc.c 20 Sep 2004 20:07:29 -0000 1.103
+++ ve_lavc.c 18 Oct 2004 12:26:45 -0000 1.104
@@ -543,13 +543,14 @@
return 0;
}
}
- else if (lavc_param_autoaspect)
+ else if (lavc_param_autoaspect) {
#if LIBAVCODEC_BUILD >= 4687
lavc_venc_context->sample_aspect_ratio = av_d2q((float)d_width/d_height*height / width, 255);
#else
lavc_venc_context->aspect_ratio =
#endif
mux_v->aspect = (float)d_width/d_height;
+ }
/* keyframe interval */
if (lavc_param_keyint >= 0) /* != -1 */
More information about the MPlayer-cvslog
mailing list