[vlc-devel] commit: Fixed buffering value for frame step. (Laurent Aimar )
git version control
git at videolan.org
Sat Nov 29 10:53:17 CET 2008
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Nov 29 01:36:05 2008 +0100| [63d2ae6421d29099c3f5f56bd24c795fb0bc8f08] | committer: Laurent Aimar
Fixed buffering value for frame step.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=63d2ae6421d29099c3f5f56bd24c795fb0bc8f08
---
src/input/es_out.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/input/es_out.c b/src/input/es_out.c
index 13b41b9..0d6197c 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -622,7 +622,7 @@ static void EsOutDecodersStopBuffering( es_out_t *out, bool b_forced )
const mtime_t i_buffering_duration = p_sys->p_input->i_pts_delay +
i_preroll_duration +
- p_sys->i_buffering_extra_stream;
+ p_sys->i_buffering_extra_stream - p_sys->i_buffering_extra_initial;
if( i_stream_duration <= i_buffering_duration && !b_forced )
{
More information about the vlc-devel
mailing list