[vlc-commits] demux: adaptive: fix inverted pause logic
Francois Cartegnie
git at videolan.org
Sun May 15 22:27:13 CEST 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri May 13 16:42:01 2016 +0200| [98f5da58362a285a16478d5941fe9e2b4864aaa4] | committer: Francois Cartegnie
demux: adaptive: fix inverted pause logic
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=98f5da58362a285a16478d5941fe9e2b4864aaa4
---
modules/demux/adaptive/PlaylistManager.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/adaptive/PlaylistManager.cpp b/modules/demux/adaptive/PlaylistManager.cpp
index 0011533..5a2a41f 100644
--- a/modules/demux/adaptive/PlaylistManager.cpp
+++ b/modules/demux/adaptive/PlaylistManager.cpp
@@ -387,7 +387,7 @@ int PlaylistManager::doControl(int i_query, va_list args)
break;
case DEMUX_CAN_PAUSE:
- *(va_arg (args, bool *)) = playlist->isLive();
+ *(va_arg (args, bool *)) = !playlist->isLive();
break;
case DEMUX_GET_TIME:
More information about the vlc-commits
mailing list