mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavfi: do not exclude hwaccel formats from ff_all_formats()
It should be possible to pass hwaccel frames through lavfi.
This commit is contained in:
parent
cc28552100
commit
ae25413daf
@ -222,7 +222,6 @@ AVFilterFormats *ff_all_formats(enum AVMediaType type)
|
||||
if (type == AVMEDIA_TYPE_VIDEO) {
|
||||
const AVPixFmtDescriptor *desc = NULL;
|
||||
while ((desc = av_pix_fmt_desc_next(desc))) {
|
||||
if (!(desc->flags & AV_PIX_FMT_FLAG_HWACCEL))
|
||||
ff_add_format(&ret, av_pix_fmt_desc_get_id(desc));
|
||||
}
|
||||
} else if (type == AVMEDIA_TYPE_AUDIO) {
|
||||
|
Loading…
Reference in New Issue
Block a user