<div dir="ltr">In code both PAUSE and SEEK have the same check (<span style="color:rgb(80,0,80);font-size:12.8px">p_sys->rtsp not NULL and end time greater than 0). This is ok for SEEK where you want to know the size of the video before jumping to another point. </span><div><span style="color:rgb(80,0,80);font-size:12.8px">But for pause there is no need to check for </span><span style="color:rgb(80,0,80);font-size:12.8px">end time greater than 0. And in live cameras (at lest for the one I am testing) this value is zero preventing the camera to pause correctly.</span></div><div><span style="color:rgb(80,0,80);font-size:12.8px">Do you have any suggestion about the patch?</span></div><div><span style="color:rgb(80,0,80);font-size:12.8px">Thanks</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-05 4:07 GMT-03:00 Rémi Denis-Courmont <span dir="ltr"><<a href="mailto:remi@remlab.net" target="_blank">remi@remlab.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Le 2015-10-04 23:57, Paulo Vitor Magacho da Silva a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
The patch is to check only if the p_sys->rtsp is already created.<br>
That should be enough to allow the video to be paused. Right now, both<br>
PAUSE and SEEK have the same check and takes into account also the<br>
video duration, which might be zero for live cameras.<br>
Do you agree?<br>
</blockquote>
<br></span>
As I wrote already, that is _not_ my understanding of the code.<div class="HOEnZb"><div class="h5"><br>
<br>
-- <br>
Rémi Denis-Courmont<br>
<a href="http://www.remlab.net/" rel="noreferrer" target="_blank">http://www.remlab.net/</a><br>
</div></div></blockquote></div><br></div>