mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-02 02:30:58 +00:00
lavfi/telecine: remove bitstream and pal formats
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
6770fa4df8
commit
50b90d5e0b
@ -103,7 +103,9 @@ static int query_formats(AVFilterContext *ctx)
|
|||||||
|
|
||||||
for (fmt = 0; fmt < AV_PIX_FMT_NB; fmt++) {
|
for (fmt = 0; fmt < AV_PIX_FMT_NB; fmt++) {
|
||||||
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(fmt);
|
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(fmt);
|
||||||
if (!(desc->flags & AV_PIX_FMT_FLAG_HWACCEL))
|
if (!(desc->flags & AV_PIX_FMT_FLAG_HWACCEL ||
|
||||||
|
desc->flags & AV_PIX_FMT_FLAG_PAL ||
|
||||||
|
desc->flags & AV_PIX_FMT_FLAG_BITSTREAM))
|
||||||
ff_add_format(&pix_fmts, fmt);
|
ff_add_format(&pix_fmts, fmt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user