aboutsummaryrefslogtreecommitdiffstats
path: root/avconv.c
diff options
context:
space:
mode:
authorKostya <kostya.shishkov@gmail.com>2011-08-13 16:44:21 +0000
committerAnton Khirnov <anton@khirnov.net>2011-08-15 11:53:45 +0200
commit5c59fa56edc68de348048cc0b1235d7ade23c979 (patch)
tree7c81c52acf37cf0018d97cde8acef6d2a3b71399 /avconv.c
parent428c59d9114ac97754f2bc06d07c4d1ba1860464 (diff)
downloadffmpeg-5c59fa56edc68de348048cc0b1235d7ade23c979.tar.gz
Turn on resampling on sudden size change instead of bailing out during recode.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'avconv.c')
-rw-r--r--avconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avconv.c b/avconv.c
index 18c5f07380..74db59fe23 100644
--- a/avconv.c
+++ b/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