mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
ffmpeg: fix fate breakage introduced by key=value buffersrc args.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
1d69dcb887
commit
eae983f4ff
1 changed files with 2 additions and 0 deletions
2
ffmpeg.c
2
ffmpeg.c
|
|
@ -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:"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue