The planar/packed switch and the packing_formats list is no longer required, since the planar/packed information is now stored in the sample format enum. This is technically a major API break, possibly it should be not too painful as we marked the audio filtering API as unstable.
Showing the changes to libavfilter/graphdump.c (1 of 28 files). Show all
Unified · Split
| @@ -46,9 +46,8 @@ static int print_link_prop(AVBPrint *buf, AVFilterLink *link) · 45 unmodified lines | ||
| 46 | 46 | av_get_channel_layout_string(layout, sizeof(layout), |
| 47 | 47 | -1, link->channel_layout); |
| 48 | 48 | format = av_x_if_null(av_get_sample_fmt_name(link->format), "?"); |
| 49 | − av_bprintf(buf, "[%dHz %s:%s:%s]", | |
| 50 | − (int)link->sample_rate, format, layout, | |
| 51 | − link->planar ? "planar" : "packed"); | |
| 49 | + av_bprintf(buf, "[%dHz %s:%s]", | |
| 50 | + (int)link->sample_rate, format, layout); | |
| 52 | 51 | break; |
| 53 | 52 | |
| 54 | 53 | default: |