mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
lavfi: drop planar/packed negotiation support
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.
This commit is contained in:
@@ -148,9 +148,6 @@ int avfilter_insert_filter(AVFilterLink *link, AVFilterContext *filt,
|
||||
if (link->out_channel_layouts)
|
||||
ff_channel_layouts_changeref(&link->out_channel_layouts,
|
||||
&filt->outputs[filt_dstpad_idx]->out_channel_layouts);
|
||||
if (link->out_packing)
|
||||
avfilter_formats_changeref(&link->out_packing,
|
||||
&filt->outputs[filt_dstpad_idx]->out_packing);
|
||||
if (link->out_samplerates)
|
||||
avfilter_formats_changeref(&link->out_samplerates,
|
||||
&filt->outputs[filt_dstpad_idx]->out_samplerates);
|
||||
|
||||
Reference in New Issue
Block a user