mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 22:37:28 +01:00
10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11370 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f3744ed25c
commit
0ab6710b79
@ -466,7 +466,7 @@ static int config(struct vf_instance_s* vf,
|
||||
}
|
||||
else if (lavc_param_autoaspect)
|
||||
#if LIBAVCODEC_BUILD >= 4687
|
||||
lavc_venc_context->sample_aspect_ratio = av_d2q((float)d_width/d_height*height / width, 30000);
|
||||
lavc_venc_context->sample_aspect_ratio = av_d2q((float)d_width/d_height*height / width, 255);
|
||||
#else
|
||||
lavc_venc_context->aspect_ratio = (float)d_width/d_height;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user