[vlc-devel] 回复: Re: What's the value of clock refecen frequency aftercalling es_out_Control?
xiang zou
xiangwust at yahoo.com.cn
Fri Jul 20 10:47:36 CEST 2007
Hi:
Thanks for your answer.
Then comes a new question:
What the global VLC clock is?And where can I find its related code in the source tree?
Rémi Denis-Courmont <rdenis at simphalempin.com> 写道:
On Fri, 20 Jul 2007 09:01:01 +0800 (CST), xiang zou
wrote:
> When calling es_out_Control(p_demux->out,ES_OUT_RESET_PCR), it may call
the
> function input_ClockSetPCR( p_sys->p_input, &p_pgrm->clock, (i_pcr + 11 )
*
> 9 / 100) to set the Program Clock Reference,isn't it?
In that piece of code, i_pcr is expressed in microseconds, and converted to
90kHz to make a valid MPEG Program Clock. Most likely i_pcr comes from the
global VLC clock, which is a 1MHz wall clock.
--
Rémi
_______________________________________________
vlc-devel mailing list
vlc-devel at videolan.org
http://mailman.videolan.org/listinfo/vlc-devel
---------------------------------
抢注雅虎免费邮箱3.5G容量,20M附件!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070720/e9f5606f/attachment.html>
-------------- next part --------------
_______________________________________________
vlc-devel mailing list
vlc-devel at videolan.org
http://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list