[FFmpeg-devel] [PATCH 2/3] avcodec/ass: accurately preserve colours
Soft Works
softworkz at hotmail.com
Sun Nov 13 21:39:42 EET 2022
> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Oneric
> Sent: Sunday, November 13, 2022 8:22 PM
> To: FFmpeg development discussions and patches <ffmpeg-
> devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH 2/3] avcodec/ass: accurately
> preserve colours
>
> Thanks for taking a look!
>
> On Sun, Nov 13, 2022 at 20:12:46 +0100, Nicolas George wrote:
> > Oneric (12022-11-13):
> > > [...]
> > > tests/ref/fate/sub-webvtt2 | Bin 1648 -> 1668 bytes
> >
> > These are text files. Please fix this so that we can review the
> patch.
>
> As explained in the cover letter, those files are intentionally using
> CRLF
> line endings and patchwork bugs (or at least used to bug) out if it
> receives patches with CRLF line endings. The last few times this
> always
> caused some debate, so I used binary diffs to workaround it this
> time.
> It just adds the "YCbCr Matrix: None" line in every file and changes
> the Encoding field to "1" instead of "0".
>
> If you prefer and believe the patchwork bugs won’t cause confusion,
> I can of course immediately send a v2 with plain text diffs.
IMO, this is not necessary, because those might be better visible
but nobody would be able to properly apply them.
I would even go one step further and specify those files which
are causing trouble in a .gitattributes file, because this will
allow this (creating patches for those files as binary) to be
handled automatically by git.
The .gitattributes solution worked successfully as tested here:
https://patchwork.ffmpeg.org/project/ffmpeg/patch/BN0P223MB0358900908A4B2A6A37C3296BA769@BN0P223MB0358.NAMP223.PROD.OUTLOOK.COM/
PS: Thanks for your patch, will look at it later
softworkz
More information about the ffmpeg-devel
mailing list