[FFmpeg-devel] [PATCH v17 15/19] avfilter/textmod: Add textmod, censor and show_speaker filters
Michael Niedermayer
michael at niedermayer.cc
Sun Nov 28 22:26:02 EET 2021
On Sun, Nov 28, 2021 at 07:22:10PM +0000, Soft Works wrote:
>
>
> > -----Original Message-----
> > From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Michael
> > Niedermayer
> > Sent: Sunday, November 28, 2021 8:05 PM
> > To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
> > Subject: Re: [FFmpeg-devel] [PATCH v17 15/19] avfilter/textmod: Add textmod,
> > censor and show_speaker filters
> >
> > On Sat, Nov 27, 2021 at 07:38:09PM +0000, Soft Works wrote:
> > > - textmod {S -> S)
> > > Modify subtitle text in a number of ways
> > >
> > > - censor {S -> S)
> > > Censor subtitles using a word list
> > >
> > > - show_speaker {S -> S)
> > > Prepend speaker names from ASS subtitles to the visible text lines
> > >
> > > Signed-off-by: softworkz <softworkz at hotmail.com>
> > > ---
> > > doc/filters.texi | 206 ++++++++++++
> > > libavfilter/Makefile | 5 +
> > > libavfilter/allfilters.c | 3 +
> > > libavfilter/sf_textmod.c | 697 +++++++++++++++++++++++++++++++++++++++
> > > 4 files changed, 911 insertions(+)
> > > create mode 100644 libavfilter/sf_textmod.c
> >
> > git doesnt like this one
> >
> > Applying: avfilter/textmod: Add textmod, censor and show_speaker filters
> > .git/rebase-apply/patch:269: trailing whitespace.
> > /*
> > .git/rebase-apply/patch:270: trailing whitespace.
> > * Copyright (c) 2021 softworkz
> > .git/rebase-apply/patch:271: trailing whitespace.
> > *
> > .git/rebase-apply/patch:272: trailing whitespace.
> > * This file is part of FFmpeg.
> > .git/rebase-apply/patch:273: trailing whitespace.
> > *
> > warning: squelched 692 whitespace errors
> > warning: 697 lines add whitespace errors.
> > Using index info to reconstruct a base tree...
> > M doc/filters.texi
> > .git/rebase-apply/patch:269: trailing whitespace.
> > /*
> > .git/rebase-apply/patch:270: trailing whitespace.
> > * Copyright (c) 2021 softworkz
> > .git/rebase-apply/patch:271: trailing whitespace.
> > *
> > .git/rebase-apply/patch:272: trailing whitespace.
> > * This file is part of FFmpeg.
> > .git/rebase-apply/patch:273: trailing whitespace.
> > *
> > error: patch failed: doc/filters.texi:25551
> > error: doc/filters.texi: patch does not apply
> > error: patch failed: libavfilter/Makefile:551
> > error: libavfilter/Makefile: patch does not apply
> > error: patch failed: libavfilter/allfilters.c:541
> > error: libavfilter/allfilters.c: patch does not apply
> > error: Did you hand edit your patch?
> > It does not apply to blobs recorded in its index.
> > Patch failed at 0001 avfilter/textmod: Add textmod, censor and show_speaker
> > filters
> > Use 'git am --show-current-patch' to see the failed patch
> > When you have resolved this problem, run "git am --continue".
> > If you prefer to skip this patch, run "git am --skip" instead.
> > To restore the original branch and stop patching, run "git am --abort".
> >
>
>
> Thanks, I'll check. I thought I had eliminated all trailing whitespace
> from filters.texi.
>
> It's weird that patchwork could apply the patch. What do you use
> 'patch' or 'git am'?`
git am
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
It is what and why we do it that matters, not just one of them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20211128/346efa49/attachment.sig>
More information about the ffmpeg-devel
mailing list