[vlc-commits] es_out: turn the hardcoded default duration into a CLOCK_FREQ based value
Steve Lhomme
git at videolan.org
Sat May 5 18:10:25 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Sat May 5 09:56:15 2018 +0200| [87cadd0883675fdbf6b6d1b9a6178d42782674fa] | committer: Rémi Denis-Courmont
es_out: turn the hardcoded default duration into a CLOCK_FREQ based value
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=87cadd0883675fdbf6b6d1b9a6178d42782674fa
---
src/input/es_out.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/input/es_out.c b/src/input/es_out.c
index 88168538a3..a1b3afff51 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -839,7 +839,7 @@ static void EsOutFrameNext( es_out_t *out )
msg_Dbg( p_sys->p_input, "EsOutFrameNext consummed %d ms", (int)(i_duration/1000) );
if( i_duration <= 0 )
- i_duration = 40*1000;
+ i_duration = CLOCK_FREQ/25;
/* FIXME it is not a clean way ? */
if( p_sys->i_buffering_extra_initial <= 0 )
More information about the vlc-commits
mailing list