[FFmpeg-devel] Patch for ticket #9151

Dominic Mayers dominic.mayers at meditationstudies.org
Fri Mar 19 16:17:32 EET 2021


Here is the updated patch in attachment.

Dominic

On 3/19/21 5:05 AM, Moritz Barsnick wrote:
> 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
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avfliter-vf_ocr-add-white-space-to-whitelist.patch
Type: text/x-patch
Size: 1553 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210319/0f68b8bb/attachment.bin>


More information about the ffmpeg-devel mailing list