mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 21:20:41 +00:00
Turn on resampling on sudden size change instead of bailing out during recode.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
428c59d911
commit
5c59fa56ed
2
avconv.c
2
avconv.c
@ -1186,7 +1186,7 @@ static void do_video_out(AVFormatContext *s,
|
||||
ost->resample_width, ost->resample_height, av_get_pix_fmt_name(ost->resample_pix_fmt),
|
||||
dec->width , dec->height , av_get_pix_fmt_name(dec->pix_fmt));
|
||||
if(!ost->video_resample)
|
||||
exit_program(1);
|
||||
ost->video_resample = 1;
|
||||
}
|
||||
|
||||
#if !CONFIG_AVFILTER
|
||||
|
Loading…
Reference in New Issue
Block a user