Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Michael Niedermayer <michael@niedermayer.cc>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH v10 3/8] tests: Add chained ogg/vorbis stream dump test.
Date: Fri, 4 Apr 2025 23:00:02 +0200
Message-ID: <20250404210002.GZ4991@pb2> (raw)
In-Reply-To: <CABWZ6ORbhY93de4ECCSAkot8thQ055maACVCzB48CYS3Qp9FcQ@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1944 bytes --]

On Fri, Apr 04, 2025 at 03:53:14PM -0500, Romain Beauxis wrote:
> Le ven. 4 avr. 2025 à 15:44, Michael Niedermayer
> <michael@niedermayer.cc> a écrit :
> >
> > Hi Romain
> >
> > On Wed, Apr 02, 2025 at 01:29:35PM -0500, Romain Beauxis wrote:
> > > ---
> > >  tests/Makefile                             |  1 +
> > >  tests/fate/ogg-vorbis.mak                  | 11 +++++++++++
> > >  tests/ref/fate/ogg-vorbis-chained-meta.txt | 17 +++++++++++++++++
> > >  3 files changed, 29 insertions(+)
> > >  create mode 100644 tests/fate/ogg-vorbis.mak
> > >  create mode 100644 tests/ref/fate/ogg-vorbis-chained-meta.txt
> >
> > Applying: tests: Add chained ogg/vorbis stream dump test.
> > .git/rebase-apply/patch:48: trailing whitespace.
> > Stream ID: 0, frame PTS: 128, metadata:
> > .git/rebase-apply/patch:50: trailing whitespace.
> > Stream ID: 0, frame PTS: 704, metadata:
> > .git/rebase-apply/patch:58: trailing whitespace.
> > Stream ID: 0, frame PTS: 128, metadata:
> > .git/rebase-apply/patch:60: trailing whitespace.
> > Stream ID: 0, frame PTS: 704, metadata:
> > warning: 4 lines add whitespace errors.
> >
> > do the tests pass without the trailing whitespace ?
> 
> I don't think it would. The text file is a dump from the command output.

It passes here without the trailing whitespace

I suggest to remove them, because some editors remove trailing whitespace
some people git setups do too. It could cause pain to people
if in c/h files trailing whitespace is forbidden but here its
used.
Also as this is ffmpeg output, maybe the code outputting trailing
whitespace should be fixed

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Rewriting code that is poorly written but fully understood is good.
Rewriting code that one doesnt understand is a sign that one is less smart
than the original author, trying to rewrite it will not make it better.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 251 bytes --]

_______________________________________________
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".

  reply	other threads:[~2025-04-04 21:00 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-02 18:29 [FFmpeg-devel] [PATCH v10 0/8] Properly decode ogg metadata in ogg/{vorbis, flac, opus} chained bitstreams Romain Beauxis
2025-04-02 18:29 ` [FFmpeg-devel] [PATCH v10 1/8] libavcodec/decode.c: intercept `AV_PKT_DATA_METADATA_UPDATE` packet extra data, attach them to the next decoded frame with the same PTS Romain Beauxis
2025-04-04 20:39   ` Michael Niedermayer
2025-04-04 20:56     ` Romain Beauxis
2025-04-04 21:24       ` Michael Niedermayer
2025-04-02 18:29 ` [FFmpeg-devel] [PATCH v10 2/8] tests: Add stream dump test API util Romain Beauxis
2025-04-04 20:40   ` Michael Niedermayer
2025-04-04 20:55     ` Romain Beauxis
2025-04-02 18:29 ` [FFmpeg-devel] [PATCH v10 3/8] tests: Add chained ogg/vorbis stream dump test Romain Beauxis
2025-04-04 20:44   ` Michael Niedermayer
2025-04-04 20:53     ` Romain Beauxis
2025-04-04 21:00       ` Michael Niedermayer [this message]
2025-04-04 21:01         ` Romain Beauxis
2025-04-02 18:29 ` [FFmpeg-devel] [PATCH v10 4/8] libavformat/oggdec.h, libavformat/oggparsevorbis.c: Factor out vorbis metadata update mechanism Romain Beauxis
2025-04-02 18:29 ` [FFmpeg-devel] [PATCH v10 5/8] libavformat/oggparseflac.c: Parse ogg/flac comments in new ogg packets, add them to ogg stream new_metadata Romain Beauxis
2025-04-02 18:29 ` [FFmpeg-devel] [PATCH v10 6/8] tests: Add chained ogg/flac stream dump test Romain Beauxis
2025-04-04 20:45   ` Michael Niedermayer
2025-04-04 20:52     ` Romain Beauxis
2025-04-02 18:29 ` [FFmpeg-devel] [PATCH v10 7/8] libavformat/oggparseopus.c: Parse comments from secondary chained streams header packet Romain Beauxis
2025-04-02 18:29 ` [FFmpeg-devel] [PATCH v10 8/8] tests: Add chained ogg/opus stream dump test Romain Beauxis
2025-04-04 20:47   ` Michael Niedermayer
2025-04-04 20:53     ` Romain Beauxis

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=20250404210002.GZ4991@pb2 \
    --to=michael@niedermayer.cc \
    --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