Re: [FFmpeg-devel] [PATCH] lavfi/drawtext: ignore final LF of textfile.

2021-02-17 Thread Nicolas George
Nicolas George (12020-11-30): > Good idea, thanks. Pushed. Regards, -- Nicolas George signature.asc Description: PGP signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe,

Re: [FFmpeg-devel] [PATCH] lavfi/drawtext: ignore final LF of textfile.

2020-11-30 Thread Nicolas George
Gyan Doshi (12020-12-01): > Isn't it better to use   is_newline() Good idea, thanks. Regards, -- Nicolas George From f88d5c977b52da54678e9c752e53cb538bc65cab Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Mon, 30 Nov 2020 19:28:36 +0100 Subject: [PATCH] lavfi/drawtext: ignore final LF o

Re: [FFmpeg-devel] [PATCH] lavfi/drawtext: ignore final LF of textfile.

2020-11-30 Thread Gyan Doshi
On 01-12-2020 12:08 am, Nicolas George wrote: A standard text file ends with a final LF. Without this change, it is interpreted as an empty final line, and visible with the box option. The current behavior can be achieved by actually having an empty line at the end of the file. Fix trac ticket

[FFmpeg-devel] [PATCH] lavfi/drawtext: ignore final LF of textfile.

2020-11-30 Thread Nicolas George
A standard text file ends with a final LF. Without this change, it is interpreted as an empty final line, and visible with the box option. The current behavior can be achieved by actually having an empty line at the end of the file. Fix trac ticket #7948. Signed-off-by: Nicolas George --- libav