It should be possible to pass hwaccel frames through lavfi.
Anton Khirnov authored on 2015/07/20 17:07:25... | ... |
@@ -222,8 +222,7 @@ AVFilterFormats *ff_all_formats(enum AVMediaType type) |
222 | 222 |
if (type == AVMEDIA_TYPE_VIDEO) { |
223 | 223 |
const AVPixFmtDescriptor *desc = NULL; |
224 | 224 |
while ((desc = av_pix_fmt_desc_next(desc))) { |
225 |
- if (!(desc->flags & AV_PIX_FMT_FLAG_HWACCEL)) |
|
226 |
- ff_add_format(&ret, av_pix_fmt_desc_get_id(desc)); |
|
225 |
+ ff_add_format(&ret, av_pix_fmt_desc_get_id(desc)); |
|
227 | 226 |
} |
228 | 227 |
} else if (type == AVMEDIA_TYPE_AUDIO) { |
229 | 228 |
enum AVSampleFormat fmt = 0; |