[FFmpeg-devel] avfilter_graph_set_auto_convert() appears to do nothing

Burt P. pburt0 at gmail.com
Wed Aug 10 10:57:51 EEST 2016


As suggested by Nicolas George, I've recently tried
avfilter_graph_set_auto_convert(ctx->graph, AVFILTER_AUTO_CONVERT_NONE)
in a filter init() function, but it did not prevent auto-inserted
resampling filters from appearing.

I looked around a bit and could not find a place where the member of
AVFilterGraph that is set by the function is actually used in master.
[1]

The function, and a check of the flag during the conversion filter
auto-insertion process, was added in
440af105f2306d3c7b3b3f4d7530bab910d49cb9 [2]
but the check seems to have been removed later on, leaving only the
ineffectual function.

[1] https://github.com/FFmpeg/FFmpeg/search?utf8=%E2%9C%93&q=disable_auto_convert
[2] https://github.com/FFmpeg/FFmpeg/commit/440af105f2306d3c7b3b3f4d7530bab910d49cb9

-- 
Burt


More information about the ffmpeg-devel mailing list