Commit 5c59fa56 authored by Kostya's avatar Kostya Committed by Anton Khirnov

Turn on resampling on sudden size change instead of bailing out during recode.

Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent 428c59d9
......@@ -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
......
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