vlc | branch: master | Steve Lhomme <[email protected]> | Sat May 5 09:57:13 2018 +0200| [55d84f1eb7667f7564ada3077ad172ea913e2445] | committer: Rémi Denis-Courmont
es_out: turn the hardcoded stop sleep into a CLOCK_FREQ based value Signed-off-by: Rémi Denis-Courmont <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=55d84f1eb7667f7564ada3077ad172ea913e2445 --- 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 a1b3afff51..7221fbb357 100644 --- a/src/input/es_out.c +++ b/src/input/es_out.c @@ -2178,7 +2178,7 @@ static void EsOutDel( es_out_t *out, es_out_id_t *es ) break; /* FIXME there should be a way to have auto deleted es, but there will be * a problem when another codec of the same type is created (mainly video) */ - msleep( 20*1000 ); + msleep( CLOCK_FREQ/50 ); } EsUnselect( out, es, es->p_pgrm == p_sys->p_pgrm ); } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
