<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
</head>
<body><div>For me it's a way to mark code that should be looked at twice. In many case it's probably just VLC_TS_0 used with its actual value.<br></div>
<div>In other it could be legitimate to have a one tick shift for internal use and it should be advertised as such instead of wondering if it's correct or not.<br></div>
<div><br></div>
<div>I forgot to mention these lines:<br></div>
<div><br></div>
<div><a href="http://git.videolan.org/?p=vlc.git;a=blob;f=modules/access/dvdnav.c;h=b20cb4d6a52ecdbed520f817028c5c4aab282b45;hb=HEAD#l1401">http://git.videolan.org/?p=vlc.git;a=blob;f=modules/access/dvdnav.c;h=b20cb4d6a52ecdbed520f817028c5c4aab282b45;hb=HEAD#l1401</a><br></div>
<div><a href="http://git.videolan.org/?p=vlc.git;a=blob;f=modules/access/imem.c;h=edbb52566913b2460523f4685226e5a627a4dfc7;hb=HEAD#l575">http://git.videolan.org/?p=vlc.git;a=blob;f=modules/access/imem.c;h=edbb52566913b2460523f4685226e5a627a4dfc7;hb=HEAD#l575</a><br></div>
<div><a href="http://git.videolan.org/?p=vlc.git;a=blob;f=modules/access/imem.c;h=edbb52566913b2460523f4685226e5a627a4dfc7;hb=HEAD#l597">http://git.videolan.org/?p=vlc.git;a=blob;f=modules/access/imem.c;h=edbb52566913b2460523f4685226e5a627a4dfc7;hb=HEAD#l597</a><br></div>
<div><a href="http://git.videolan.org/?p=vlc.git;a=blob;f=modules/access/imem.c;h=edbb52566913b2460523f4685226e5a627a4dfc7;hb=HEAD#l597">http://git.videolan.org/?p=vlc.git;a=blob;f=modules/access/imem.c;h=edbb52566913b2460523f4685226e5a627a4dfc7;hb=HEAD#l598</a><br></div>
<div><a href="http://git.videolan.org/?p=vlc.git;a=blob;f=modules/codec/libmpeg2.c;h=2dcf094c73cfd2c997d129b901668dbc54e62278;hb=HEAD#l580">http://git.videolan.org/?p=vlc.git;a=blob;f=modules/codec/libmpeg2.c;h=2dcf094c73cfd2c997d129b901668dbc54e62278;hb=HEAD#l580</a><br></div>
<div><a href="http://git.videolan.org/?p=vlc.git;a=blob;f=modules/codec/synchro.c;h=8285d8c00b05b8e2194deb08b2be7c4a9b6a22c7;hb=HEAD#l253">http://git.videolan.org/?p=vlc.git;a=blob;f=modules/codec/synchro.c;h=8285d8c00b05b8e2194deb08b2be7c4a9b6a22c7;hb=HEAD#l253</a><br></div>
<div><a href="http://git.videolan.org/?p=vlc.git;a=blob;f=modules/codec/ttml/substtml.c;h=fc6cec26413addff9b43a819edaac231997bf9c8;hb=HEAD#l1280">http://git.videolan.org/?p=vlc.git;a=blob;f=modules/codec/ttml/substtml.c;h=fc6cec26413addff9b43a819edaac231997bf9c8;hb=HEAD#l1280</a><br></div>
<div><a href="http://git.videolan.org/?p=vlc.git;a=blob;f=modules/demux/flac.c;h=135354422bbdb517735f5026bdd792bdacb4be6e;hb=HEAD#l392">http://git.videolan.org/?p=vlc.git;a=blob;f=modules/demux/flac.c;h=135354422bbdb517735f5026bdd792bdacb4be6e;hb=HEAD#l392</a><br></div>
<div><a href="http://git.videolan.org/?p=vlc.git;a=blob;f=modules/demux/ttml.c;h=557db4e1e13e0069d7a59f65056e2d4a9c88c595;hb=HEAD#l354">http://git.videolan.org/?p=vlc.git;a=blob;f=modules/demux/ttml.c;h=557db4e1e13e0069d7a59f65056e2d4a9c88c595;hb=HEAD#l354</a><br></div>
<div><a href="http://git.videolan.org/?p=vlc.git;a=blob;f=modules/demux/vobsub.c;h=f3a93d432867497fbfdf4fd202de44cb4aa653e3;hb=HEAD#l372">http://git.videolan.org/?p=vlc.git;a=blob;f=modules/demux/vobsub.c;h=f3a93d432867497fbfdf4fd202de44cb4aa653e3;hb=HEAD#l372</a><br></div>
<div><a href="http://git.videolan.org/?p=vlc.git;a=blob;f=src/audio_output/dec.c;h=4f90c04d3c1dc55886c8a95be18f1aa1358baa3f;hb=HEAD#l384">http://git.videolan.org/?p=vlc.git;a=blob;f=src/audio_output/dec.c;h=4f90c04d3c1dc55886c8a95be18f1aa1358baa3f;hb=HEAD#l384</a><br></div>
<div><a href="http://git.videolan.org/?p=vlc.git;a=blob;f=src/input/decoder.c;h=411f91371560f5982a5010430935f68beeaf5619;hb=HEAD#l778">http://git.videolan.org/?p=vlc.git;a=blob;f=src/input/decoder.c;h=411f91371560f5982a5010430935f68beeaf5619;hb=HEAD#l778</a><br></div>
<div><a href="http://git.videolan.org/?p=vlc.git;a=blob;f=src/input/es_out.c;h=d36fd2c4fff672b301cdff12a19f8f76ee2e8047;hb=HEAD#l837">http://git.videolan.org/?p=vlc.git;a=blob;f=src/input/es_out.c;h=d36fd2c4fff672b301cdff12a19f8f76ee2e8047;hb=HEAD#l837</a><br></div>
<div><a href="http://git.videolan.org/?p=vlc.git;a=blob;f=src/input/resource.c;h=f806cfeb2c98fc829e69c8d6490b9ea95a332294;hb=HEAD#l276">http://git.videolan.org/?p=vlc.git;a=blob;f=src/input/resource.c;h=f806cfeb2c98fc829e69c8d6490b9ea95a332294;hb=HEAD#l276</a><br></div>
<div><a href="http://git.videolan.org/?p=vlc.git;a=blob;f=src/video_output/video_output.c;h=d9855a868db3966bebd4af917a7356914212cd03;hb=HEAD#l980">http://git.videolan.org/?p=vlc.git;a=blob;f=src/video_output/video_output.c;h=d9855a868db3966bebd4af917a7356914212cd03;hb=HEAD#l980</a><br></div>
<div><br></div>
<div>There are also calls to <span class="colour" style="color:rgb(0, 0, 0)">vlc_timer_schedule() with 1 to means the timer should trigger right now (or the next clock tick). Rather than 0. IMO that would be a good case for using VLC_TICK_EPSILON.</span><br></div>
<div><br></div>
<div>As you can see from the amount IMO it's better to mark them before we forget about them for a long time.<br></div>
<div><br></div>
</body>
</html>