[FFmpeg-trac] #5577(documentation:new): tinterlace filter mode drop_odd and drop_even is wrong

FFmpeg trac at avcodec.org
Thu May 19 13:41:44 CEST 2016


#5577: tinterlace filter mode drop_odd and drop_even is wrong
-------------------------------------+-------------------------------------
             Reporter:  nicol        |                     Type:  defect
               Status:  new          |                 Priority:  minor
            Component:               |                  Version:  git-
  documentation                      |  master
             Keywords:  tinterlace   |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug: tinterlace filter mode drop_odd and drop_even is wrong
 order at Doc & vf_tinterlace.c
 How to reproduce:
 {{{
 % ffmpeg -i input ... output
 ffmpeg version ffmpeg-20160517-git-af3e944-win32-static
 built on ...
 }}}
 Look at https://ffmpeg.org/ffmpeg-filters.html#tinterlace mode section,
  ‘merge, 0’
  ‘drop_odd, 1’
  ‘drop_even, 2’

 but source code is
 https://github.com/FFmpeg/FFmpeg/blob/master/libavfilter/vf_tinterlace.c#L41
     {"merge",             "merge fields",
 0, AV_OPT_TYPE_CONST, {.i64=MODE_MERGE},             INT_MIN, INT_MAX,
 FLAGS, "mode"},
     {"drop_even",         "drop even fields",
 0, AV_OPT_TYPE_CONST, {.i64=MODE_DROP_EVEN},         INT_MIN, INT_MAX,
 FLAGS, "mode"},
     {"drop_odd",          "drop odd fields",
 0, AV_OPT_TYPE_CONST, {.i64=MODE_DROP_ODD},          INT_MIN, INT_MAX,
 FLAGS, "mode"},

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5577>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list