diff options
author | Nicolas George | 2013-04-09 11:43:08 +0200 |
---|---|---|
committer | Nicolas George | 2013-04-09 20:16:20 +0200 |
commit | de38e7c8c3dff23e24d6718c115711747cbff949 (patch) | |
tree | f6eb0028e950633d504da477cf7d9a46f70e6a0b /ffmpeg_opt.c | |
parent | b4eb06d32535958d71568503cf886f448a5164ed (diff) |
ffmpeg: use a rational for -aspect option.
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r-- | ffmpeg_opt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index 1f4d89ef89..6ce965edeb 100644 --- a/ffmpeg_opt.c +++ b/ffmpeg_opt.c @@ -1203,7 +1203,7 @@ static OutputStream *new_video_stream(OptionsContext *o, AVFormatContext *oc, in av_log(NULL, AV_LOG_FATAL, "Invalid aspect ratio: %s\n", frame_aspect_ratio); exit(1); } - ost->frame_aspect_ratio = av_q2d(q); + ost->frame_aspect_ratio = q; } video_enc->bits_per_raw_sample = frame_bits_per_raw_sample; |