[FFmpeg-devel] [PATCH 6/6] Add FATE tests for codec2, codec2raw and libcodec2 wrapper

Tomas Härdin git at haerdin.se
Sat Dec 30 18:02:04 EET 2023


fre 2023-12-29 klockan 11:40 +0100 skrev Andreas Rheinhardt:
> Tomas Härdin:
> > Tests all modes, both demuxers, the muxer, the decoder and the
> > encoder.
> > Also tests both well-formed files and slightly broken truncated
> > files
> > 
> > The raw files are just the .c2 files with the header stripped.
> > Therefore the relevant tests reuse the .c2 ref files.
> > 
> 
> If they are the same, then can't you reuse the c2 files with the
> subfile
> protocol for the raw tests? (This might necessitate some changes to
> fate-run.sh, but it would provide coverage for the subfile protocol.)

Updated patch attached. I also discovered some bugs in the previous
version

I'm thinking maybe not writing positions to the ref files. That way a
bunch of tests can share refs again

/Tomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Add-FATE-tests-for-codec2-codec2raw-and-libcodec2-wr.patch
Type: text/x-patch
Size: 412597 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20231230/c0691b76/attachment.bin>


More information about the ffmpeg-devel mailing list