[vlc-devel] commit: Reset input slave eof flag on seek. (Laurent Aimar )

git version control git at videolan.org
Thu Sep 18 20:34:27 CEST 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu Sep 18 00:01:01 2008 +0200| [4ce86c99c1bceda6dbaeae75dc748e9902b0abff] | committer: Laurent Aimar 

Reset input slave eof flag on seek.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4ce86c99c1bceda6dbaeae75dc748e9902b0abff
---

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

diff --git a/src/input/input.c b/src/input/input.c
index 60806bf..c61e45f 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -2586,6 +2586,10 @@ static void SlaveSeek( input_thread_t *p_input )
             msg_Err( p_input, "seek failed for slave %d -> EOF", i );
             in->b_eof = true;
         }
+        else
+        {
+            in->b_eof = false;
+        }
     }
 }
 




More information about the vlc-devel mailing list