[vlc-commits] fix vlm scheduling

Sébastien Escudier git at videolan.org
Tue Apr 5 09:51:59 CEST 2011


vlc/vlc-1.1 | branch: master | Sébastien Escudier <sebastien-devel at celeos.eu> | Tue Apr  5 09:43:34 2011 +0200| [3f47a0d83a7036863b2961b76be454623c721579] | committer: Sébastien Escudier

fix vlm scheduling
Closes #4646
(cherry picked from commit cc5743456e5b28f86d2efa594317db6a33669e8e)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=3f47a0d83a7036863b2961b76be454623c721579
---

 src/input/vlm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/input/vlm.c b/src/input/vlm.c
index 72d88e3..fe36742 100644
--- a/src/input/vlm.c
+++ b/src/input/vlm.c
@@ -472,7 +472,7 @@ static void* Manage( void* p_object )
                         }
                     }
                 }
-                else
+                else if( i_nextschedule == 0 || i_real_date < i_nextschedule )
                 {
                     i_nextschedule = i_real_date;
                 }



More information about the vlc-commits mailing list