From: Derk-Jan Hartman Date: Thu, 7 Sep 2006 22:01:06 +0000 (+0000) Subject: * Reset access->info.b_eof when we search. After you have read up untill the end... X-Git-Tag: 0.9.0-test0~10393 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=551cd1d569dcd10d574bf28761137fb14c199b09;p=vlc * Reset access->info.b_eof when we search. After you have read up untill the end, (like ps does), you can search back to the beginning, provided the access module allows this. --- diff --git a/modules/access/cdda/access.c b/modules/access/cdda/access.c index 3fa81698f3..4a8fddece3 100644 --- a/modules/access/cdda/access.c +++ b/modules/access/cdda/access.c @@ -512,6 +512,7 @@ static int CDDASeek( access_t * p_access, int64_t i_pos ) } p_access->info.i_pos = i_pos; + p_access->info.b_eof = VLC_FALSE; return VLC_SUCCESS; } diff --git a/modules/access/vcd/vcd.c b/modules/access/vcd/vcd.c index 875b4d5c56..71299959af 100644 --- a/modules/access/vcd/vcd.c +++ b/modules/access/vcd/vcd.c @@ -434,6 +434,9 @@ static int Seek( access_t *p_access, int64_t i_pos ) p_access->info.i_seekpoint = i_seekpoint; } + /* Reset eof */ + p_access->info.b_eof = VLC_FALSE; + return VLC_SUCCESS; } diff --git a/modules/access/vcdx/access.c b/modules/access/vcdx/access.c index 2febf8c79f..5ae1f23907 100644 --- a/modules/access/vcdx/access.c +++ b/modules/access/vcdx/access.c @@ -314,6 +314,7 @@ VCDSeek( access_t * p_access, int64_t i_pos ) } } + p_access->info.b_eof = VLC_FALSE; return VLC_SUCCESS; }