[Ffmpeg-devel] Seeking with in an MPEGTS

Andy Parkins andyparkins
Tue Jun 21 16:11:41 CEST 2005


On Tuesday 2005 June 21 14:46, M?ns Rullg?rd wrote:

> > I'm not sure that I'm correct in this; because it may be that the seek is
> > actually looking for the next start of payload packet (hence buf[1] &
> > 0x40).
>
> That is indeed what it's doing.
>
> > However, even if I'm not I think that read_seek should at least resync
> > before it goes looking for the start of payload - unless I've missed the
> > part that ensures av_seek_binary() only returns on a TS boundary.
>
> I think you missed that part.

Grin.  In that case, I'll shut up :-)

Andy

-- 
Dr Andrew Parkins, M Eng (hons), AMIEE

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20050621/bc496456/attachment.pgp>



More information about the ffmpeg-devel mailing list