<br><br><div class="gmail_quote">2011/9/22 Rémi Denis-Courmont <span dir="ltr"><<a href="mailto:remi@remlab.net">remi@remlab.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Le mercredi 14 septembre 2011 09:02:52 sanjeev mk, vous avez écrit :<br>
<div class="im">> Starting a new thread because this is a different patch and the previous<br>
> thread had become pretty long.<br>
><br>
> As discussed previously in the thread "Pause when window inactive", one of<br>
> the users suggested the idea of having the 'Pause when window inactive'<br>
> feature as a Preference option, if there are significant number of users<br>
> who want it.<br>
<br>
</div>Im my opinion, this idea is plain idiotic.<br>
<br>
For a start, the video being played back may be a music video. In that case it<br>
is perfectly reasonable to continue playing audio even if focus is lost.<br>
Similarly, VLC may loose the focus to a small application that does not<br>
obscure the video, or only a small part of it, e.g. live messaging. Again, I<br>
would not expect the video to pause for this.<br>
<br>
And last, we cannot track the visibility of the video window: compositing<br>
managers have drastically altered the meaning of visiblity. Essentially,<br>
visibility is only meant to tell the application that it does not need to<br>
refresh its window (VLC already partially implements this optimization).<br>
<br>
So, it comes down to the user pausing the video when changing task. That seems<br>
perfectly reasonable, and I don't want to clutter the code with yet another<br>
useless obscure and disabled by default configuration option.<br>
<br>
Pause should only trigger automatically as a consequence of an event that is<br>
NOT triggered by the user. If the user triggered the event, we can assume the<br>
user would have paused the video manually. By that, I mean things like<br>
incoming VoIP calls. In that case, playback should be paused automatically<br>
even if it is audio only. And handling that probably does not belong in the<br>
VLC UI code.<br></blockquote><div><br></div><div>Yeah, I agree with you.</div><div>Actually, I am totally new to Open Source contribution. I am a Computer Science undergraduate in my final year, and am really keen on participating in community projects, and VLC is the first place I came to, because I have been using it for a long time. And all this is a learning experience for me. </div>
<div>So far, I hadn't completely understood why someone won't need such a feature, but now I see the point. </div><div><br></div><div>Thanks for taking the time and patiently explaining it to me, I appreciate that :)</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font color="#888888"><br><br>
Rémi Denis-Courmont<br>
<a href="http://www.remlab.net/" target="_blank">http://www.remlab.net/</a><br>
<a href="http://fi.linkedin.com/in/remidenis" target="_blank">http://fi.linkedin.com/in/remidenis</a><br>
</font><div><div></div><div class="h5">_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Stay Hungry, Stay Foolish<br><div><br>Regards,<div>Sanjeev M K</div></div><br>