Browse Source

lavfi/fieldorder: remove pal8 format

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n2.1
Paul B Mahol 11 years ago
parent
commit
33dacda40b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavfilter/vf_fieldorder.c

+ 1
- 0
libavfilter/vf_fieldorder.c View File

@@ -52,6 +52,7 @@ static int query_formats(AVFilterContext *ctx)
for (pix_fmt = 0; pix_fmt < AV_PIX_FMT_NB; pix_fmt++) { for (pix_fmt = 0; pix_fmt < AV_PIX_FMT_NB; pix_fmt++) {
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(pix_fmt); const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(pix_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) && desc->flags & AV_PIX_FMT_FLAG_BITSTREAM) &&
desc->nb_components && !desc->log2_chroma_h && desc->nb_components && !desc->log2_chroma_h &&
(ret = ff_add_format(&formats, pix_fmt)) < 0) { (ret = ff_add_format(&formats, pix_fmt)) < 0) {


Loading…
Cancel
Save