mirror of https://git.ffmpeg.org/ffmpeg.git
10l
Originally committed as revision 2404 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
5ff85f1d8b
commit
1c0dcc391a
2
ffmpeg.c
2
ffmpeg.c
|
@ -2239,7 +2239,7 @@ static void opt_output_file(const char *filename)
|
|||
|
||||
video_enc->width = frame_width;
|
||||
video_enc->height = frame_height;
|
||||
video_enc->sample_aspect_ratio = av_d2q(frame_aspect_ratio*frame_height/frame_width, 30000);
|
||||
video_enc->sample_aspect_ratio = av_d2q(frame_aspect_ratio*frame_height/frame_width, 255);
|
||||
video_enc->pix_fmt = frame_pix_fmt;
|
||||
|
||||
if (!intra_only)
|
||||
|
|
Loading…
Reference in New Issue