[FFmpeg-devel] Patch for ticket #9151
Moritz Barsnick
barsnick at gmx.net
Fri Mar 19 11:05:04 EET 2021
Hi Dominic,
On Thu, Mar 18, 2021 at 16:15:59 -0400, Dominic Mayers wrote:
> Hello,
>
> Ticket #9151
> Applies to:
>
> ffmpeg version N-101612-gda12d600ea Copyright (c) 2000-2021 the FFmpeg developers
> built with gcc 9 (Ubuntu 9.3.0-17ubuntu1~20.04)
>
> Compiled ffmpeg to include libtesseract by adding --enable-libtesseract
> to the configuration
>
> Issue:
> The current version of libavfilter/vf_ocr.c does not have white space in
> the default white list.
> But it is recommanded to include white space:
> https://github.com/tesseract-ocr/tesseract/issues/2923
>
> I attached a patch.
>
> Dominic
>
>
> >From d71df8748556269e14ce7fa2bb5a2f639ac05d4b Mon Sep 17 00:00:00 2001
> From: Dominic Mayers <dominic.mayers at meditationstudies.org>
> Date: Thu, 18 Mar 2021 15:52:53 -0400
> Subject: [PATCH] Added white space to white list of libtesseract.
Would you please change the commit message to begin with:
"avfilter/vf_ocr: "
and use imperative ("add white space...").
Also kindly add the text (under "Issue:") from your e-mail to the body
of the commit message (i.e. following the header, and separated by an
empty line), so that it's clear from the commit what was changed and
why.
Also add something like this in the body:
"Fixes #9151"
Moritz
More information about the ffmpeg-devel
mailing list