[vlc-commits] smb: remove fastseek capability
Thomas Guillem
git at videolan.org
Tue Mar 15 16:44:21 CET 2016
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Mar 15 16:43:28 2016 +0100| [142b879a29b0bc08ffa7cfc0987e536fa5ea4899] | committer: Thomas Guillem
smb: remove fastseek capability
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=142b879a29b0bc08ffa7cfc0987e536fa5ea4899
---
modules/access/smb.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/modules/access/smb.c b/modules/access/smb.c
index 528d5b1..0d8e3fe 100644
--- a/modules/access/smb.c
+++ b/modules/access/smb.c
@@ -425,12 +425,15 @@ static int Control( access_t *p_access, int i_query, va_list args )
switch( i_query )
{
case ACCESS_CAN_SEEK:
- case ACCESS_CAN_FASTSEEK:
case ACCESS_CAN_PAUSE:
case ACCESS_CAN_CONTROL_PACE:
*va_arg( args, bool* ) = true;
break;
+ case ACCESS_CAN_FASTSEEK:
+ *va_arg( args, bool* ) = false;
+ break;
+
case ACCESS_GET_SIZE:
if( p_access->pf_readdir != NULL )
return VLC_EGENERIC;
More information about the vlc-commits
mailing list