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

git version control git at videolan.org
Thu Sep 18 21:57:40 CEST 2008


vlc | branch: 0.9-bugfix | Laurent Aimar <fenrir at videolan.org> | Thu Sep 18 00:01:01 2008 +0200| [4224b0d9b9ac7b2a7a98a31bbffcc18ccc1cf433] | committer: Jean-Baptiste Kempf 

Reset input slave eof flag on seek.
(cherry picked from commit 4ce86c99c1bceda6dbaeae75dc748e9902b0abff)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 bbccf7e..583ad94 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -2475,6 +2475,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