[vlc-commits] vlc_block.h: Clarify usage of BLOCK_FLAG_DISCONTINUITY

Jean-Paul Saman git at videolan.org
Tue Oct 13 07:20:59 CEST 2015


vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Sun Sep 20 10:37:57 2015 +0200| [de4be0a4505564a5f758f06edd74f49498107f6e] | committer: Ilkka Ollakka

vlc_block.h: Clarify usage of BLOCK_FLAG_DISCONTINUITY

The BLOCK_FLAG_DISCONTINUITY signals timeline changes from the source content or due to seeking.
BLOCK_FLAG_CORRUPTION signals data corruption due to corrupted or dropped packets, this includes
transport stream continuity counter mismatches.

Signed-off-by: Ilkka Ollakka <ileoo at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=de4be0a4505564a5f758f06edd74f49498107f6e
---

 include/vlc_block.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/vlc_block.h b/include/vlc_block.h
index 1dc6ec4..21be6e0 100644
--- a/include/vlc_block.h
+++ b/include/vlc_block.h
@@ -51,7 +51,8 @@
  *   optimised for preheader/postdatas increase)
  ****************************************************************************/
 
-/** The content doesn't follow the last block, or is probably broken */
+/** The content doesn't follow the last block and indicates a timeline change
+ *  without data loss or corruption */
 #define BLOCK_FLAG_DISCONTINUITY 0x0001
 /** Intra frame */
 #define BLOCK_FLAG_TYPE_I        0x0002



More information about the vlc-commits mailing list