Showing the changes to libavfilter/avfilter.c (1 of 6 files). Show all
Unified · Split
| @@ -221,6 +221,9 @@ int avfilter_insert_filter(AVFilterLink *link, AVFilterContext *filt, · 220 unmodified lines | ||
| 221 | 221 | if (link->out_chlayouts) |
| 222 | 222 | avfilter_formats_changeref(&link->out_chlayouts, |
| 223 | 223 | &filt->outputs[filt_dstpad_idx]->out_chlayouts); |
| 224 | + if (link->out_packing) | |
| 225 | + avfilter_formats_changeref(&link->out_packing, | |
| 226 | + &filt->outputs[filt_dstpad_idx]->out_packing); | |
| 224 | 227 | |
| 225 | 228 | return 0; |
| 226 | 229 | } |