Commit Message
On 8/27/07, Stone <syphyr@gmail.com> wrote:
>
> It seems the new "Level" parameter in cOsd has caused xine and softdevice
> to fail in compile with vdr-1.5.9. Does anyone know how to fix these?
This seems to build now with these changes. I didnt add backwards
compatibility for < 1.5.9 though. Please let me know if this is the correct
way.
Best Regards.
Comments
On Montag 27 August 2007, Stone wrote:
> On 8/27/07, Stone <syphyr@gmail.com> wrote:
> >
> > It seems the new "Level" parameter in cOsd has caused xine and softdevice
> > to fail in compile with vdr-1.5.9. Does anyone know how to fix these?
>
>
>
> This seems to build now with these changes. I didnt add backwards
> compatibility for < 1.5.9 though. Please let me know if this is the correct
> way.
>
> Best Regards.
>
Thanks, guarded by "#if VDRVERSNUM .." it's in softdevice cvs now.
@@ -3426,7 +3426,7 @@
#if APIVERSNUM < 10307
cOsdBase *cXineDevice::NewOsd(int x, int y)
#else
- cOsd *cXineDevice::NewOsd(int x, int y)
+ cOsd *cXineDevice::NewOsd(int x, int y, uint level)
#endif
{
// ::fprintf(stderr, "NewOsd ---: %s\n", ::ctime(&(const time_t &)::time(0)));
@@ -120,7 +120,7 @@
#if APIVERSNUM < 10307
virtual cOsdBase *NewOsd(int x, int y);
#else
- virtual cOsd *NewOsd(int x, int y);
+ virtual cOsd *NewOsd(int x, int y, uint level);
#endif
cXineDevice(cPlugin *const plugin, cXineSettings &settings, cXineRemote *remote);
@@ -144,7 +144,7 @@
#if APIVERSNUM < 10307
: cOsdBase(x, y)
#else
- : cOsd(x, y)
+ : cOsd(x, y, 0)
#endif
, m_xineDevice(xineDevice)
, m_xineLib(xineDevice.m_xineLib)
@@ -366,9 +366,9 @@
{
}
- cOsd *cXineOsdProvider::CreateOsd(int Left, int Top)
+ cOsd *cXineOsdProvider::CreateOsd(int Left, int Top, uint Level)
{
- return m_xineDevice.NewOsd(Left, Top);
+ return m_xineDevice.NewOsd(Left, Top, Level);
}
#endif
@@ -81,7 +81,7 @@
public:
cXineOsdProvider(cXineDevice &xineDevice);
- virtual cOsd *CreateOsd(int Left, int Top);
+ virtual cOsd *CreateOsd(int Left, int Top, uint Level);
};
#endif