[vlc-devel] [PATCH] Feature addition - Automatically pause when VLC is not the active window

sanjeev mk sanjeevmk4890 at gmail.com
Tue Sep 13 15:38:31 CEST 2011


On Tue, Sep 13, 2011 at 3:29 PM, Craig Whitmore <lennon at orcon.net.nz> wrote:

> > Anyway, for those who want this feature or just want to see how it works,
> use this patch, the one I posted earlier gives white space errors. A clean
> patch:
>
> Does this work if:
>
>
>    - you have 2 monitors and the video is running on another screen full
>    screen or windowed and you are working on the other?
>
>
>    - you have the video running in a window on the screen and you want to
>    do other work on another application whilst the video plays in this window?
>    - You are playing a stream/video which actually opens 2 video windows
>    with 1 input (i.e. Viewing an entire DVB-T MUX)
>    - Something I have not thought about …
>
>

> See, the way it works is, if VLC does not have keyboard/mouse attention, it
> would pause video playback.
>


> So, I am not sure about your first idea (don't have two monitors to test
> that with).
>


> Your second idea won't work because here VLC window does not have
> keyboard/mouse attention, your work window is processing the input.
>

   Similarly, in your third suggestion, the window which can process the
input will play the     video.

>
>
This feature is obviously not useful for all cases and users, but I think
for normal usage (a minority case), it can be used without any
inconvenience. So, we can make it available as dynamically available
preference to the user.

> Thanks
> Craig
>
>
>
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
>


-- 
Regards,
Sanjeev M K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110913/48cc9c2e/attachment.html>


More information about the vlc-devel mailing list