# HG changeset patch # User rfelker # Date 1098102405 0 # Node ID 8f12e583f50b5e50ceb0b8d5a179b9982801a5d4 # Parent 4780969312f6d979e0e30c675c6fba331031ab4a 10l...autoaspect was always applied to muxer aspect if using newer libavcodec...hope this is ok diff -r 4780969312f6 -r 8f12e583f50b libmpcodecs/ve_lavc.c --- a/libmpcodecs/ve_lavc.c Mon Oct 18 09:21:23 2004 +0000 +++ b/libmpcodecs/ve_lavc.c Mon Oct 18 12:26:45 2004 +0000 @@ -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 */