[vlc-commits] DSM access: disable fast-seek (closes #16007)

Felix Paul Kühne git at videolan.org
Mon Nov 30 19:38:26 CET 2015


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Nov 30 19:37:40 2015 +0100| [324b9c482ee3dc850c7d80abfd77a73ea3a6029a] | committer: Felix Paul Kühne

DSM access: disable fast-seek (closes #16007)

This matches all the other networking access modules and solves performance issues when playing high bitrate content

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

 modules/access/dsm/access.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/modules/access/dsm/access.c b/modules/access/dsm/access.c
index 960f316..22e0fe6 100644
--- a/modules/access/dsm/access.c
+++ b/modules/access/dsm/access.c
@@ -539,12 +539,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:
     {
         smb_stat st = smb_stat_fd( p_access->p_sys->p_session,



More information about the vlc-commits mailing list