summaryrefslogtreecommitdiff
path: root/dxr3osd.c
diff options
context:
space:
mode:
Diffstat (limited to 'dxr3osd.c')
-rw-r--r--dxr3osd.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/dxr3osd.c b/dxr3osd.c
index 2be8398..deddccb 100644
--- a/dxr3osd.c
+++ b/dxr3osd.c
@@ -34,11 +34,18 @@
#include "dxr3osd_subpicture.h"
// ==================================
-// ! create osd at (Left, Top)
+// ! create osd at (Left, Top, Level)
+#if APIVERSNUM < 10509
cOsd *cDxr3OsdProvider::CreateOsd(int Left, int Top)
{
return new cDxr3SubpictureOsd(Left, Top);
}
+#else
+cOsd *cDxr3OsdProvider::CreateOsd(int Left, int Top, uint Level)
+{
+ return new cDxr3SubpictureOsd(Left, Top, Level);
+}
+#endif
// Local variables:
// mode: c++