[MPlayer-dev-eng] Meaning of demuxer->filepos ?
Arpi
arpi at thot.banki.hu
Fri Aug 22 21:51:52 CEST 2003
Hi,
> what's the exact meaning of demuxer->filepos ?
nothing
> How does it differ from stream_tell(stream) ?
it contains the return value of stream_tell(stream) at the beginning
of a packet.
in a generic way:
demux_read_packet(){
. skip junk, padding, sync to next packet
demux->filepos=stream_tell(stream)
. parse packet data
}
but actually it's not used at such detail, and not even implemented
correctly in all demuxers. afair it's only used to display file position
at OSD, and for some low-level demuxer debug messages.
A'rpi / Astral & ESP-team
--
Developer of MPlayer G2, the Movie Framework for all - http://www.MPlayerHQ.hu
More information about the MPlayer-dev-eng
mailing list