blob: 99df9e2676817692bf87c2e365a889ff70c21f99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
diff -upr mplayer-vaapi-20101115.orig/patches/mplayer-vaapi.patch mplayer-vaapi-20101115/patches/mplayer-vaapi.patch
--- mplayer-vaapi-20101115.orig/patches/mplayer-vaapi.patch 2010-11-15 11:14:06.000000000 +0200
+++ mplayer-vaapi-20101115/patches/mplayer-vaapi.patch 2010-11-18 05:14:41.000000000 +0200
@@ -3688,10 +3688,10 @@ index 0000000..f920d91
+ enable_osd();
+}
+
-+static void draw_eosd(EOSD_ImageList *imgs)
++static void draw_eosd(struct mp_eosd_image_list *imgs)
+{
-+ ASS_Image *img = imgs->imgs;
-+ ASS_Image *i;
++ struct mp_eosd_image_list *img = eosd_image_first(imgs);
++ struct mp_eosd_image *i;
+ VAStatus status;
+
+ if (!va_eosd_draw_alpha)
@@ -3717,7 +3717,7 @@ index 0000000..f920d91
+
+ memset(va_eosd_image_data, 0, va_eosd_image.data_size);
+
-+ for (i = img; i; i = i->next)
++ for (i = img; i; i = eosd_image_next(imgs))
+ va_eosd_draw_alpha(i->bitmap, i->w, i->h, i->stride,
+ i->dst_x, i->dst_y, i->color);
+
|