[vlc-commits] httplive: turn STREAM_CAN_CONTROL_PACE on to restore playback

Ilkka Ollakka git at videolan.org
Thu Jun 20 19:06:42 CEST 2013


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Wed Jun 19 11:09:12 2013 +0300| [0a423efa0b464361250ddb66725e26ef5155e1b6] | committer: Ilkka Ollakka

httplive: turn STREAM_CAN_CONTROL_PACE on to restore playback

This is just quick fix and workaround for now.

Should Fix #8619 and #8713

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

 modules/stream_filter/httplive.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
index a58baf3..51a2728 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -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:



More information about the vlc-commits mailing list