Commit 4c22ef2e authored by Laurent Aimar's avatar Laurent Aimar

Let vdr access return true for CAN_FASTSEEK.

parent be14e277
...@@ -284,16 +284,12 @@ static int Control( access_t *p_access, int i_query, va_list args ) ...@@ -284,16 +284,12 @@ static int Control( access_t *p_access, int i_query, va_list args )
switch( i_query ) switch( i_query )
{ {
case ACCESS_CAN_SEEK: case ACCESS_CAN_SEEK:
case ACCESS_CAN_FASTSEEK:
case ACCESS_CAN_PAUSE: case ACCESS_CAN_PAUSE:
case ACCESS_CAN_CONTROL_PACE: case ACCESS_CAN_CONTROL_PACE:
*va_arg( args, bool* ) = true; *va_arg( args, bool* ) = true;
break; 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: case ACCESS_GET_PTS_DELAY:
pi64 = va_arg( args, int64_t * ); pi64 = va_arg( args, int64_t * );
*pi64 = INT64_C(1000) *pi64 = INT64_C(1000)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment