[FFmpeg-devel] [PATCH] api-h264-test: build with another api test

Clément Bœsch u at pkh.me
Mon Jun 29 10:02:52 CEST 2015

On Sun, Jun 28, 2015 at 06:55:45PM +0200, wm4 wrote:
> > Ludmila is working on new tests that involve seeking to more than one
> > place based on wm4's request - from what I understand (not doing any
> > seeking myself) is that ffmpeg.c only seeks once ever. As an API user
> > it's useful to do multiple seeks, testing something not possible in
> > ffmpeg.c. Same goes with draw_horiz_band and I would also like to test
> > other features only available from the API.
> From what I know, ffmpeg.c indeed seeks only once. At least I couldn't
> find out how to make it seek several times in the same file last I
> checked.
> Note that here is a seek test in libavformat/seek-test.c. But what I'd
> like to be tested is whether decoding from start, and seeking back to a
> certain position returns the same result. This tests for example
> whether decoder flushing really resets the the entire decoder state.
> (It often seems to happen that it does, either by design or by
> accident.)

There is also a small code I wrote a while ago that might be helpful. It's
attached to this mail (I didn't take the time to rebase it, but it should
be straightforward).

Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-WIP-seek-playback-fuzz.patch
Type: text/x-diff
Size: 14408 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150629/3c1280e3/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150629/3c1280e3/attachment.asc>

More information about the ffmpeg-devel mailing list