Unified · Split
| @@ -163,8 +163,12 @@ int avfilter_config_links(AVFilterContext *filter) · 162 unmodified lines | ||
| 163 | 163 | "callbacks on all outputs\n"); |
| 164 | 164 | return AVERROR(EINVAL); |
| 165 | 165 | } |
| 166 | − } else if ((ret = config_link(link)) < 0) | |
| 166 | + } else if ((ret = config_link(link)) < 0) { | |
| 167 | + av_log(link->src, AV_LOG_ERROR, | |
| 168 | + "Failed to configure output pad on %s\n", | |
| 169 | + link->src->name); | |
| 167 | 170 | return ret; |
| 171 | + } | |
| 168 | 172 | |
| 169 | 173 | if (link->time_base.num == 0 && link->time_base.den == 0) |
| 170 | 174 | link->time_base = link->src && link->src->input_count ? |
| @@ -189,8 +193,12 @@ int avfilter_config_links(AVFilterContext *filter) · 18 unmodified lines | ||
| 189 | 193 | } |
| 190 | 194 | |
| 191 | 195 | if ((config_link = link->dstpad->config_props)) |
| 192 | − if ((ret = config_link(link)) < 0) | |
| 196 | + if ((ret = config_link(link)) < 0) { | |
| 197 | + av_log(link->src, AV_LOG_ERROR, | |
| 198 | + "Failed to configure input pad on %s\n", | |
| 199 | + link->dst->name); | |
| 193 | 200 | return ret; |
| 201 | + } | |
| 194 | 202 | |
| 195 | 203 | link->init_state = AVLINK_INIT; |
| 196 | 204 | } |