[vlc-devel] Yikes -- TS discontinuity, what should the client do?

John Michael Zorko j.zorko at att.net
Thu Sep 4 06:57:50 CEST 2003

Hello, all ...

I've adapted (with Jean-Paul's help) VLC 0.6.0 to set the discontinuity 
indicator in the TS header when a seek happens ... this allows the 
server VLC (the one which did the seek) to notify the client VLC(s) 
that they should prepare themselves.  This works ... the client VLCs 
see the discontinuity indicator in the TS header.

However, i'm not sure what they should do when they see it.  Calling 
input_EscapeDiscontinuity() on the input thread from the TS demuxer 
doesn't seem to fix the problem at all.  The whole purpose of this is 
to fix the macroblocking artifacts that happen on the client VLC after 
the server VLC does a seek.  I understand (and can see) that the TS 
header discontinuity setting code is in 0.6.3, but it still only does 

  p_es_demux->b_discontinuity = VLC_TRUE;

... which isn't enough to fix the macroblocking artifacts.  Any ideas 
on how to do this, 0.6.0 or 0.6.3?


John, just trying to make VLC even better ...

Falling You - exploring the beauty of voice and sound
New EP, "hope thrown down," available now at

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