]> git.sesse.net Git - vlc/blobdiff - src/input/clock.h
Automatically compute the latency(pts_delay) needed after a buffer underflow.
[vlc] / src / input / clock.h
index b5f97b9ae6a38081d122e89c6045689118438e6d..abe23aaf6f2959c37f5e82b89169e4f7c743f446 100644 (file)
@@ -121,5 +121,11 @@ int input_clock_GetState( input_clock_t *,
 void input_clock_SetJitter( input_clock_t *,
                             mtime_t i_pts_delay, int i_cr_average );
 
+/**
+ * This function returns an estimation of the pts_delay needed to avoid rebufferization.
+ * XXX in the current implementation, the pts_delay will never be decreased.
+ */
+mtime_t input_clock_GetJitter( input_clock_t * );
+
 #endif