<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Yes, of course, but what I meant to ask was where is VLC does the
decoder thread get created and sent to the OS for execution...<br>
<br>
The problem we see seems to be associated with re-buffering when
there is excessive clock jitter. When this happens (if I understand
it correctly), EsOutChangePosition is called which tells the decoder
thread to wait, rests the clock data, and sets the input back into
buffering mode. Buffering continues until EsOutDecodersStopBuffering
is called. The current buffering state is checked each time the
input calls the ES_OUT_SET_PCR routine. What I cannot understand is
how, 200ms latter, when ES_OUT_SET_PCR is called, that we now have
over 6s of video in the buffer. I assume, when it is reporting the
amount of system time that has transpired, it is refering back to
the reset clock data from the EsOutChangePosition call, but how can
it suddenly find 6000ms of data having only reset the clocks 200ms
ago.<br>
<br>
Oddly, we only seem to see this happen with h.264 video.<br>
<br>
David<br>
<br>
<div class="moz-signature">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<img moz-do-not-send="false"
src="cid:part1.00080606.02010505@openroadsconsulting.com">
<p
style="margin-top:0pt;margin-right:0pt;margin-bottom:.0001pt;margin-left:0pt;"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:red">----------------------------------------------------------------------------</span></p>
<p
style="margin-top:0pt;margin-right:0pt;margin-bottom:.0001pt;margin-left:0pt;"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:red;"
lang="EN-GB">David R Robison</span></p>
<p
style="margin-top:0pt;margin-right:0pt;margin-bottom:.0001pt;margin-left:0pt;"><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#002060;"
lang="EN-GB">Principal Systems Engineer</span></b></p>
<p
style="margin-top:0pt;margin-right:0pt;margin-bottom:.0001pt;margin-left:0pt;"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D;"
lang="EN-GB">+1 757 546 3401 (o)</span></p>
<p
style="margin-top:0pt;margin-right:0pt;margin-bottom:.0001pt;margin-left:0pt;"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D;
\" lang="EN-GB">+1 757 286 0022 (m)</span></p>
<p
style="margin-top:0pt;margin-right:0pt;margin-bottom:.0001pt;margin-left:0pt;t"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";"
lang="EN-GB"><a
href="mailto:david.robison@openroadsconsulting.com">david.robison@openroadsconsulting.com</a></span></p>
<p
style="margin-top:0pt;margin-right:0pt;margin-bottom:.0001pt;margin-left:0pt;><a
href="http://www.openroadsconsulting.com/"><span
lang=EN-GB style="
font-size:10.0pt;font-family:"arial","sans-serif";'=""><a class="moz-txt-link-abbreviated" href="http://www.openroadsconsulting.com">www.openroadsconsulting.com</a></p>
<p
style="margin-top:0pt;margin-right:0pt;margin-bottom:.0001pt;margin-left:0pt;"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:red">----------------------------------------------------------------------------</span></p>
<p
style="margin-top:0pt;margin-right:0pt;margin-bottom:.0001pt;margin-left:0pt;"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:red;"
lang="EN-GB">Open Roads Consulting </span></p>
<p
style="margin-top:0pt;margin-right:0pt;margin-bottom:.0001pt;margin-left:0pt;"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:red;"
lang="EN-GB">A Q-Free Company</span></p>
<p
style="margin-top:0pt;margin-right:0pt;margin-bottom:.0001pt;margin-left:0pt;"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#002060;"
lang="EN-GB">103 Watson Rd. Chesapeake VA 23320</span></p>
</div>
<div class="moz-cite-prefix">On 4/2/2015 2:37 AM, Rémi
Denis-Courmont wrote:<br>
</div>
<blockquote
cite="mid:b634c90c16c6c44b62a7c4339d1e7a6f@roundcube.remlab.net"
type="cite">Le 2015-04-01 23:28, David R. Robison a écrit :
<br>
<blockquote type="cite">Hmm... Buffering is controlled in the
es_out.c module. Where is the
<br>
video decoder thread schedule for execution? David
<br>
</blockquote>
<br>
In the OS kernel code.
<br>
<br>
</blockquote>
<br>
<BR />
<BR />
<HR />
This email communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed.<BR />
If you are not the intended recipient, please delete this email immediately.<BR />
</body>
</html>