Commit eae983f4 authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: fix fate breakage introduced by key=value buffersrc args.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 1d69dcb8
...@@ -995,6 +995,8 @@ static int configure_input_video_filter(FilterGraph *fg, InputFilter *ifilter, ...@@ -995,6 +995,8 @@ static int configure_input_video_filter(FilterGraph *fg, InputFilter *ifilter,
sar = ist->st->sample_aspect_ratio.num ? sar = ist->st->sample_aspect_ratio.num ?
ist->st->sample_aspect_ratio : ist->st->sample_aspect_ratio :
ist->st->codec->sample_aspect_ratio; ist->st->codec->sample_aspect_ratio;
if(!sar.den)
sar = (AVRational){0,1};
av_bprint_init(&args, 0, 1); av_bprint_init(&args, 0, 1);
av_bprintf(&args, av_bprintf(&args,
"video_size=%dx%d:pix_fmt=%d:time_base=%d/%d:" "video_size=%dx%d:pix_fmt=%d:time_base=%d/%d:"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment