[vlc-commits] stream_filter: dash: set CAN_CONTROL_PACE

Francois Cartegnie git at videolan.org
Mon Nov 17 18:29:43 CET 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Nov 16 16:04:51 2014 +0100| [8b9442ac07d87604e4643a98131efdaeca8f58bc] | committer: Francois Cartegnie

stream_filter: dash: set CAN_CONTROL_PACE

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

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

diff --git a/modules/stream_filter/dash/dash.cpp b/modules/stream_filter/dash/dash.cpp
index 15b537d..4f3aac0 100644
--- a/modules/stream_filter/dash/dash.cpp
+++ b/modules/stream_filter/dash/dash.cpp
@@ -252,8 +252,10 @@ static int  Control         (stream_t *p_stream, int i_query, va_list args)
             /*TODO Support Seek */
             *(va_arg (args, bool *)) = SEEK;
             break;
-        case STREAM_CAN_PAUSE:
         case STREAM_CAN_CONTROL_PACE:
+            *(va_arg (args, bool *)) = true;
+            break;
+        case STREAM_CAN_PAUSE:
             *(va_arg (args, bool *)) = false; /* TODO */
             break;
 



More information about the vlc-commits mailing list