Opened 3 years ago

Closed 3 years ago

#5577 closed defect (fixed)

tinterlace filter mode drop_odd and drop_even is wrong

Reported by: nicol Owned by:
Priority: minor Component: documentation
Version: git-master Keywords: tinterlace
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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"},

Change History (1)

comment:1 Changed 3 years ago by richardpl

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.