vlc | branch: master | Sébastien Escudier <[email protected]> | Fri Feb 22 19:14:46 2013 +0100| [88f1ac57fadf697fb5ae0fc332b19abf80b6ec3f] | committer: Sébastien Escudier
live555 : allow global npt value to go backward > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=88f1ac57fadf697fb5ae0fc332b19abf80b6ec3f --- modules/access/live555.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/access/live555.cpp b/modules/access/live555.cpp index 3c2efb0..d0b98ce 100644 --- a/modules/access/live555.cpp +++ b/modules/access/live555.cpp @@ -1923,7 +1923,7 @@ static void StreamRead( void *p_private, unsigned int i_size, } /* Update our global npt value */ - if( tk->f_npt > 0 && tk->f_npt > p_sys->f_npt && + if( tk->f_npt > 0 && ( tk->f_npt < p_sys->f_npt_length || p_sys->f_npt_length <= 0 ) ) p_sys->f_npt = tk->f_npt; _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
