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 )
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)
......
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