[FFmpeg-devel] dv_read_seek fix for audio stream seek
Wed Jun 13 12:41:39 CEST 2007
I found a problem with seeking with raw DV format. Problem that seeking
function 'dv_read_seek' do not depends on stream and use video timebase
to calc offset in file. If i point audio stream as argument - it seek to
wrong position due to audio has fixed 1/30000 timebase but video 1/25 or
1001/30000 depends on format.
Attached patch fix that problem - add recalculating of timestamp if
stream index is greater 0 (audio streams).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 673 bytes
Desc: not available
More information about the ffmpeg-devel