[vlc-devel] [RFC] stream quality indicator on qt4

jean-paul.saman at planet.nl jean-paul.saman at planet.nl
Fri Feb 20 18:35:48 CET 2009


The ts demuxer doesn't set BLOCK_FLAG_DISCONTINUITY but flags BLOCK_FLAG_CORRUPTED instead (modules/demux/ts.c line: 1993) to indicate corrupted data. Even this won't tell you how much exactly is lost. It only tells you how many times the demux noticed it.

-----Original Message-----
From: vlc-devel-bounces at videolan.org on behalf of Rémi Denis-Courmont
Sent: Fri 2/20/2009 6:32 PM
To: vlc-devel at videolan.org
Subject: Re: [vlc-devel] [RFC] stream quality indicator on qt4
 
Le vendredi 20 février 2009 19:26:32 jean-paul.saman at planet.nl, vous avez 
écrit :
> A client of mine is interested in having an indication on the quality of
> the input stream displayed in the Statistics dialog window. I cooked up the
> attached patch to count the number of BLOCK_FLAG_CORRUPTED occurrences
> which should be an indication of missing data and thus also 'quality'.

What if you just loose packets? There is BLOCK_FLAG_DISCONTINUITY, however it 
won't tell you how many packets were lost.

-- 
Rémi Denis-Courmont
http://git.remlab.net/cgi-bin/gitweb.cgi?p=vlc-courmisch.git;a=summary
_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
http://mailman.videolan.org/listinfo/vlc-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090220/9c316cf5/attachment.html>


More information about the vlc-devel mailing list