Re: [ANNOUNCE] VDR developer version 1.7.26

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

 



Am 10.03.2012 16:18, schrieb Klaus Schmidinger:
>   Any plugins that implement cStatus::ChannelSwitch() need to add the parameter
>   'bool LiveView' to that function.

The 'status' plugin, part of the VDR source, does not yet use the new
LiveView parameter.


Just one of many plugin breakages. People should look out for warnings
like this:
> ../../../include/vdr/status.h:33: warning: ‘virtual void cStatus::ChannelSwitch(const cDevice*, int, bool)’ was hidden
> status.c:21: warning:   by ‘virtual void cStatusTest::ChannelSwitch(const cDevice*, int)’
This usually means that channel switch reporting is no longer working!

People with C++11 compatible compilers can enable C++11 support and add
another declaration like this to cStatus:
>   virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber) final;
That will cause the wrong parameters to be treated as an error.

Cheers,

Udo

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr



[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