[vlc-devel] [PATCH] Fixed pause issue for streams without end (live cameras)
Paulo Vitor Magacho da Silva
pvmagacho at gmail.com
Fri Oct 2 07:53:00 CEST 2015
---
modules/access/live555.cpp | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/modules/access/live555.cpp b/modules/access/live555.cpp
index efd66f3..9d7b90e 100644
--- a/modules/access/live555.cpp
+++ b/modules/access/live555.cpp
@@ -1542,6 +1542,13 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
/* Special for access_demux */
case DEMUX_CAN_PAUSE:
+ pb = (bool*)va_arg( args, bool * );
+ if( p_sys->rtsp )
+ *pb = true;
+ else
+ *pb = false;
+ return VLC_SUCCESS;
+
case DEMUX_CAN_SEEK:
pb = (bool*)va_arg( args, bool * );
if( p_sys->rtsp && p_sys->f_npt_length > 0 )
--
2.3.8 (Apple Git-58)
More information about the vlc-devel
mailing list