[PATCH] subtitles, softdevice for Shutdown rewrite for 1.5.x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jan 13, 2007 at 09:48:47PM +0100, Udo Richter wrote:
> Marko M?kel? wrote:
> >A minor cosmetic thing: the '#' of pre-processor directives should always
> >be located at the first column of the line.  
> 
> The only indented directives are for the debug output I think, and this 
> will probably be removed before the final integration anyway.
> 
> >A more important suggestion: Could you please add a notification method
> >to status.h for notifying plugins whether VDR is currently in
> >interactive mode?  
> 
> You can poll this state on your own by calling 
> Shutdown.IsUserInactive().

I attach my patches to the subtitles and softdevice plugins.  I
intentionally kept them simple: I'm using the existing configuration
flags for disabling output.  It would be better to introduce a separate
variable for the configuration setting, and in MainThreadHook assign
the enable flag to either FALSE or the configured setting.  In that way,
the output could be permanently disabled from the plugin menus, as it
can be done now.

I'll post improved patches when the presence of the shutdown patch can
be tested with #ifdef.

	Marko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: softdevice-suspend.patch
Type: text/x-diff
Size: 1389 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20070125/626a3cce/softdevice-suspend.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: subtitles-suspend.patch
Type: text/x-diff
Size: 942 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20070125/626a3cce/subtitles-suspend.bin

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux