Unified · Split
| @@ -62,8 +62,10 @@ int av_vsrc_buffer_add_frame2(AVFilterContext *buffer_filter, AVFrame *frame, · 61 unmodified lines | |||
| 62 | AVFilterContext *scale= buffer_filter->outputs[0]->dst; | 62 | AVFilterContext *scale= buffer_filter->outputs[0]->dst; |
| 63 | AVFilterLink *link; | 63 | AVFilterLink *link; |
| 64 | 64 | ||
| 65 | av_log(buffer_filter, AV_LOG_INFO, "Changing filter graph input to accept %dx%d %d (%d %d)\n", | 65 | av_log(buffer_filter, AV_LOG_INFO, |
| 66 | width,height,pix_fmt, c->pix_fmt, scale && scale->outputs ? scale->outputs[0]->format : -123); | 66 | "Buffer video input changed from size:%dx%d fmt:%s to size:%dx%d fmt:%s\n", |
| 67 | c->w, c->h, av_pix_fmt_descriptors[c->pix_fmt].name, | ||
| 68 | width, height, av_pix_fmt_descriptors[pix_fmt].name); | ||
| 67 | 69 | ||
| 68 | if(!scale || strcmp(scale->filter->name,"scale")){ | 70 | if(!scale || strcmp(scale->filter->name,"scale")){ |
| 69 | AVFilter *f= avfilter_get_by_name("scale"); | 71 | AVFilter *f= avfilter_get_by_name("scale"); |