[FFmpeg-trac] #7948(avfilter:new): drawtext don't use last line from text file

FFmpeg trac at avcodec.org
Sun Jun 9 18:32:48 EEST 2019


#7948: drawtext don't use last line from text file
-------------------------------------+-------------------------------------
             Reporter:  jb_alvarado  |                     Type:
                                     |  enhancement
               Status:  new          |                 Priority:  normal
            Component:  avfilter     |                  Version:  git-
             Keywords:  drawtext     |  master
  newline                            |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 Editors like nano, Atom or other put automatically a line at the end of an
 text file.

 When drawtext now drawing a box behind the text the box is bigger then the
 text, because of this empty line in the text file at the end.

 It would be nice if the filter would ignore the very last empty line.

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


More information about the FFmpeg-trac mailing list