From: Soft Works <softworkz@hotmail.com> To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Subject: Re: [FFmpeg-devel] [PATCH 1/2] avcodec/{ass, webvttdec}: fix handling of backslashes Date: Wed, 2 Feb 2022 22:18:50 +0000 Message-ID: <DM8P223MB03650D2D1813BE744AA5075EBA279@DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM> (raw) In-Reply-To: <Yfq5YRN6qM+gagwW@dismail.de> > -----Original Message----- > From: ffmpeg-devel <ffmpeg-devel-bounces@ffmpeg.org> On Behalf Of > Oneric > Sent: Wednesday, February 2, 2022 6:03 PM > To: FFmpeg development discussions and patches <ffmpeg- > devel@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 1/2] avcodec/{ass, webvttdec}: fix > handling of backslashes > > It appears my previous mail has been interpreted as some sort of > attack > against you; this is not the case. I am sorry for creating such a > misunderstanding. Don't know who said that, but I don't feel attacked. It's about technical details and opinions about it. All good. > The mail was merely meant to clear up the misconception that it would > be > impossible to send mixed line-endings via mail due to some SMTP > property > using some illustrative examples from the current thread. > (I have no idea how SMTP works in detail) Where did you see such misconception? I think almost everybody knows that this is doable over SMTP in some way, and there are in fact many ways to do this, even when it would be as stupid like attaching as zip archive. It's never been a matter of SMTP. It's the GIT tooling in the context of "patch-over-SMTP" transport and the way it is using plain-ascii-text e-mails for this purpose. IMO, this is a design flaw or just a bug when git-send-email and format-patch are creating output with transfer-encodings 7bit/8bit but mixed EOLs. I suppose this is due to the tendency of GIT to consider text file basically as files with lines of text where the line endings are exchangeable and rather a platform detail than part of the text file's content. And text files with mixed line endings are an accidental side effect of multi-platform work and the endings can be re-unified at any time. That's also the reason why format-patch cannot warn, because bazillions of code files exist which have mixed EOLs (accidentally and exchangeable). Yes, yes yes - don't need to respond that GIT can handle those cases flawlessly and precisely when configured appropriately (and when not using the e-mail features). That goes without saying. I'm just speculating about history, why it might have happened that it doesn't work flawlessly when using e-mail. Via e-mail, it only works when using base64 encoding like you said, but this had only been added at a later time and wasn't part of the original functionality. Further - I could find no evidence for your claims that base64 encoding would be chosen automatically depending on the content, neither is it on by default. There's an 'auto' mode which chooses between 7bit, 8bit and quoted-printable, but not base64, which always needs to be specified explicitly (or set in .gitconfig). This is the way it is documented and I'm seeing exactly that documented behavior on both Linux and Windows when testing with a mocked smtp server. You had contradicted my statement that it would be desirable that format-patch would be able to do base64 encoding as well, saying that this would be the task of a mail-client. This is not necessarily the case, though. format-patch can generate patch e-mails with multipart-mime content, where the patch content is created as an attachment mime part. format-patch does that with a transfer-encoding of 8bit, but it can't do it with base64 encoding. (I'm stripping the rest of your reply as it is all covered above already) Regards, softworkz _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
next prev parent reply other threads:[~2022-02-02 22:19 UTC|newest] Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-01-16 18:16 Oneric 2022-01-16 18:16 ` [FFmpeg-devel] [PATCH 2/2] avcodec/webvttdec: honour bidi marks Oneric 2022-02-01 17:38 ` [FFmpeg-devel] [PATCH 1/2] avcodec/{ass, webvttdec}: fix handling of backslashes Oneric 2022-02-01 19:44 ` Soft Works 2022-02-01 20:06 ` Oneric 2022-02-01 20:41 ` Soft Works 2022-02-01 23:25 ` Oneric 2022-02-02 4:44 ` Soft Works 2022-02-02 17:03 ` Oneric 2022-02-02 22:18 ` Soft Works [this message] 2022-02-02 22:44 ` Soft Works 2022-02-03 2:11 ` Oneric 2022-02-03 20:51 ` Soft Works 2022-02-04 1:01 ` Oneric 2022-02-04 1:30 ` Andreas Rheinhardt 2022-02-04 21:52 ` Oneric 2022-02-04 23:24 ` Soft Works 2022-02-05 1:20 ` Oneric 2022-02-05 2:08 ` Soft Works 2022-02-05 21:59 ` Oneric 2022-02-06 1:08 ` Soft Works 2022-02-06 1:37 ` Soft Works 2022-02-04 1:57 ` Soft Works 2022-02-04 5:34 ` Soft Works 2022-02-04 5:59 ` Soft Works 2022-02-04 6:48 ` Soft Works 2022-02-04 21:19 ` Oneric 2022-02-04 22:23 ` Soft Works
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=DM8P223MB03650D2D1813BE744AA5075EBA279@DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM \ --to=softworkz@hotmail.com \ --cc=ffmpeg-devel@ffmpeg.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel This inbox may be cloned and mirrored by anyone: git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \ ffmpegdev@gitmailbox.com public-inbox-index ffmpegdev Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git