[vlc-devel] Re: Control in decoder

Sigmund Augdal sigmunau at stud.ntnu.no
Mon May 24 08:29:25 CEST 2004


Check the flags of the block passed to DecodeBlock. If the discontinuity
flag is set, then there is either a gap in the file, a missing packet in the
network stream or the user did a seek.

Sigmund

On Mon, May 24, 2004 at 12:41:11PM +0900, Matthew Romaine wrote:
> 
> Hi,
> 
> There is a function in most demuxers called "Control" that gets called 
> when, for example, the time slider seeks forward/backward.  Is there a 
> similar function for decoders?
> 
> When a user wants to seek ahead or behind in a file, there is some 
> re-initialization I would like to do for the decoder.
> 
> thanks,
> matt
> 
> -- 
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://developers.videolan.org/lists.html
> If you are in trouble, please contact <postmaster at videolan.org>

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list