diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-06-09 15:59:00 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-09 16:02:27 +0400 |
commit | eae983f4ff683f75386732eaa0537aaa7c05ff39 (patch) | |
tree | 371a6d7edc82454e72dfbfb38356385dffffdaa2 /ffmpeg.c | |
parent | 1d69dcb8871db06a0a84f09a9d902f93f6f5a1ce (diff) |
ffmpeg: fix fate breakage introduced by key=value buffersrc args.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -995,6 +995,8 @@ static int configure_input_video_filter(FilterGraph *fg, InputFilter *ifilter, sar = ist->st->sample_aspect_ratio.num ? ist->st->sample_aspect_ratio : ist->st->codec->sample_aspect_ratio; + if(!sar.den) + sar = (AVRational){0,1}; av_bprint_init(&args, 0, 1); av_bprintf(&args, "video_size=%dx%d:pix_fmt=%d:time_base=%d/%d:" |