[FFmpeg-devel] first_dts set to RELATIVE_TS_BASE in vorbis audio

Dale Curtis dalecurtis at chromium.org
Fri May 4 02:10:59 CEST 2012

On Thu, Apr 12, 2012 at 4:05 PM, Dale Curtis <dalecurtis at chromium.org>wrote:

> I resync'd and it works fine. Thanks Michael!
> - dale
On further testing this change breaks the ability to call av_seek_frame()
before an av_read_frame() on certain ogg files:


Test case can be compiled with:
gcc -std=c99 -o ogg-ts ogg-ts.c -lstdc++ libavformat/libavformat.a
libavcodec/libavcodec.a libavutil/libavutil.a -lz -lbz2 -lpthread

The test will fail at the first av_seek_frame() call when used with the
bassdist_1.ogg file.

The test also highlights some issues with timestamps going backwards in
time (with test.ogv) that I've raised on libav-devel since the patch
originated there:


- dale

More information about the ffmpeg-devel mailing list