]> git.sesse.net Git - vlc/commitdiff
httplive: turn STREAM_CAN_CONTROL_PACE on to restore playback
authorIlkka Ollakka <ileoo@videolan.org>
Wed, 19 Jun 2013 08:09:12 +0000 (11:09 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Thu, 20 Jun 2013 17:06:04 +0000 (20:06 +0300)
This is just quick fix and workaround for now.

Should Fix #8619 and #8713

modules/stream_filter/httplive.c

index a58baf385130e0bcf018385fb96fdc35073f78ec..51a27286a24879fe65231e86110b9c5d8a979707 100644 (file)
@@ -2514,9 +2514,11 @@ static int Control(stream_t *s, int i_query, va_list args)
         case STREAM_CAN_SEEK:
             *(va_arg (args, bool *)) = hls_MaySeek(s);
             break;
+        case STREAM_CAN_CONTROL_PACE:
+            *(va_arg (args, bool *)) = true;
+            break;
         case STREAM_CAN_FASTSEEK:
         case STREAM_CAN_PAUSE: /* TODO */
-        case STREAM_CAN_CONTROL_PACE:
             *(va_arg (args, bool *)) = false;
             break;
         case STREAM_GET_POSITION: