[MPlayer-dev-eng] .TiVo file support

Nico Sabbi nsabbi at email.it
Fri Dec 15 11:28:45 CET 2006


Jeremy Drake wrote:

>I implemented something like this overriding the dp->flags variable to be
>where in the buffer I am, since I don't know what the flags are for and
>weren't using them for anything else.  
>
do not touch the flags, especially since you don't know what
they are used for

>If it turns out this is what dp->pos is for, I can change it, but the comment in the header file seems
>to make me think that I was right about dp->pos:
>  off_t pos;  // position in index (AVI) or file (MPG)
>  
>

if you need to keep track of the pos add some variable to your private data
(demuxer->priv)




More information about the MPlayer-dev-eng mailing list