[vlc-commits] Let vdr access return true for CAN_FASTSEEK.

Laurent Aimar git at videolan.org
Mon Oct 10 21:43:04 CEST 2011


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Oct 10 21:42:05 2011 +0200| [4c22ef2e1df36538440438ba76c1377ff75e8c41] | committer: Laurent Aimar

Let vdr access return true for CAN_FASTSEEK.

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

 modules/access/vdr.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/modules/access/vdr.c b/modules/access/vdr.c
index 0939669..284a36b 100644
--- a/modules/access/vdr.c
+++ b/modules/access/vdr.c
@@ -284,16 +284,12 @@ 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:
-            /* Seek() can open files, so it might be "too slow" */
-            *va_arg( args, bool* ) = false;
-            break;
-
         case ACCESS_GET_PTS_DELAY:
             pi64 = va_arg( args, int64_t * );
             *pi64 = INT64_C(1000)



More information about the vlc-commits mailing list