Revision dfc6f5ae

View differences:

ffmpeg.c
1192 1192
    if (   ost->resample_height != ist->st->codec->height
1193 1193
        || ost->resample_width  != ist->st->codec->width
1194 1194
        || (ost->resample_pix_fmt!= ist->st->codec->pix_fmt) ) {
1195

  
1196
        fprintf(stderr,"Input Stream #%d.%d frame size changed to %dx%d, %s\n", ist->file_index, ist->index, ist->st->codec->width,     ist->st->codec->height,avcodec_get_pix_fmt_name(ist->st->codec->pix_fmt));
1195
        av_log(NULL, AV_LOG_INFO,
1196
               "Input stream #%d.%d frame changed from size:%dx%d fmt:%s to size:%dx%d fmt:%s\n",
1197
               ist->file_index, ist->index,
1198
               ost->resample_width  , ost->resample_height  , avcodec_get_pix_fmt_name(ost->resample_pix_fmt),
1199
               ist->st->codec->width, ist->st->codec->height, avcodec_get_pix_fmt_name(ist->st->codec->pix_fmt));
1197 1200
        if(!ost->video_resample)
1198 1201
            ffmpeg_exit(1);
1199 1202
    }

Also available in: Unified diff