[vlc-devel] What's the value of clock refecen frequency aftercalling es_out_Control?

Rémi Denis-Courmont rdenis at simphalempin.com
Fri Jul 20 09:28:40 CEST 2007


On Fri, 20 Jul 2007 09:01:01 +0800 (CST), xiang zou
<xiangwust at yahoo.com.cn> 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


More information about the vlc-devel mailing list