Skip to content
  • Julian Scheel's avatar
    mmal/vout: Configure latency target · 28c484c2
    Julian Scheel authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
    
    
    The mmal video_render element allows to configure a latency target. Although
    the parameter is named AUDIO_LATENCY_TARGET it is not actually related to
    audio but synchronizes frame draws with hdmi vsync. It tries to match the hdmi
    vsync rate to the picture render rate by slightly varying the hdmi pixel
    clock. This makes only sense if the actual display refresh rate matches the
    video frame rate, so that only minimal drift compensation is required. Thus
    enable it only when mmal-adjust-refreshrate is activated.
    
    Signed-off-by: default avatarJulian Scheel <julian@jusst.de>
    Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
    28c484c2